Skip to content

Commit 131e0d7

Browse files
authored
ui: balance animation
1 parent d9dca01 commit 131e0d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

BDKSwiftExampleWallet/View/WalletView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ struct WalletView: View {
4848
.contentTransition(.numericText())
4949
.fontWeight(.semibold)
5050
.fontDesign(.rounded)
51+
.animation(.default, value: viewModel.balanceTotal)
5152
Text("sats")
5253
.foregroundStyle(.secondary)
5354
.fontWeight(.thin)

0 commit comments

Comments
 (0)