feat: malware warning modal changes (#6721)

* feat: improved warning modals

* fix: qa

* feat: install to play and update to play changes

* fix: dont warn for server projects as already reviewed

* fix: lint
This commit is contained in:
Calum H.
2026-07-14 20:47:10 +00:00
committed by GitHub
parent 8cca911775
commit 905204cc5f
58 changed files with 1244 additions and 1351 deletions
+7 -7
View File
@@ -1,5 +1,5 @@
use {
crate::{Blockchain, FiatAmount, UsdSymbol, WalletDetails},
crate::{Blockchain, FiatAmount, UsdSymbol, WalletDetails},
chrono::{DateTime, Utc},
derive_more::{Deref, Display},
rust_decimal::Decimal,
@@ -133,17 +133,17 @@ pub struct AccountDetails {
#[serde(tag = "type", rename_all = "snake_case")]
pub enum Balance {
#[serde(rename_all = "camelCase")]
Blockchain {
token_symbol: String,
exponent: u32,
Blockchain {
token_symbol: String,
exponent: u32,
#[serde(with = "rust_decimal::serde::str")]
value: Decimal,
blockchain: Blockchain,
},
#[serde(rename_all = "camelCase")]
Fiat {
currency_symbol: UsdSymbol,
exponent: u32,
Fiat {
currency_symbol: UsdSymbol,
exponent: u32,
#[serde(with = "rust_decimal::serde::str")]
value: Decimal,
},