From 2aedabae4ce57fce302b74abf4148e295f44bcae Mon Sep 17 00:00:00 2001 From: Matthew Date: Sat, 5 Oct 2024 15:00:53 -0500 Subject: [PATCH] ui: balance animation --- BDKSwiftExampleWallet/View/WalletView.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/BDKSwiftExampleWallet/View/WalletView.swift b/BDKSwiftExampleWallet/View/WalletView.swift index abbd53bf..85b2bc80 100644 --- a/BDKSwiftExampleWallet/View/WalletView.swift +++ b/BDKSwiftExampleWallet/View/WalletView.swift @@ -48,6 +48,7 @@ struct WalletView: View { .contentTransition(.numericText()) .fontWeight(.semibold) .fontDesign(.rounded) + .animation(.default, value: viewModel.balanceTotal) Text("sats") .foregroundStyle(.secondary) .fontWeight(.thin)