Skip to content

Commit

Permalink
wallet: add selected asset information
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Jul 21, 2023
1 parent 4edc406 commit 574a14e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/view/wallet/view_model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ pub struct ViewModel {

path: PathBuf,

asset: Option<ContractId>,

#[getter(as_mut)]
beneficiaries: BeneficiaryModel,

Expand Down Expand Up @@ -109,6 +111,7 @@ impl ViewModel {
fee_rate: wallet.ephemerals().fees.0 * 100_000_000.0, // TODO: Update on window opening
wallet,
path,
asset: None,
beneficiaries: BeneficiaryModel::new(),
invoice: none!(),
exchange: Exchange::Kraken,
Expand Down

0 comments on commit 574a14e

Please sign in to comment.