Show each wallet's balance in USD

This commit is contained in:
2026-09-29 21:02:45 +08:00
parent 0b1b253d30
commit 58d862161e
4 changed files with 115 additions and 0 deletions
@@ -24,6 +24,11 @@ struct DashboardView: View {
Text("\(model.balance.total) \(model.symbol)")
.font(.system(size: 32, weight: .bold, design: .rounded))
.foregroundStyle(Theme.text)
if let fiat = model.fiatBalance {
Text("\(fiat)")
.font(.system(size: 13, weight: .medium))
.foregroundStyle(Theme.muted)
}
if model.chain == .xmr, model.balance.unlocked != model.balance.total {
Text("\(model.balance.unlocked) \(model.symbol) spendable now")
.font(.system(size: 11))