use ZapWallet

Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
kernelkind
2025-04-17 19:32:20 -04:00
parent 61943aa6c7
commit f16e63cf3b
5 changed files with 18 additions and 18 deletions

View File

@@ -49,7 +49,7 @@ impl WalletAction {
};
accounts.update_current_account(move |acc| {
acc.wallet = Some(wallet);
acc.wallet = Some(wallet.into());
});
} else {
if global_wallet.wallet.is_some() {
@@ -60,7 +60,7 @@ impl WalletAction {
return;
};
global_wallet.wallet = Some(wallet);
global_wallet.wallet = Some(wallet.into());
global_wallet.save_wallet();
}
}