We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a071238 commit 873e0ceCopy full SHA for 873e0ce
BDKSwiftExampleWallet/View/WalletView.swift
@@ -52,23 +52,6 @@ struct WalletView: View {
52
]
53
}
54
55
- .swipeGesture { direction in
56
- withAnimation(.spring(response: 0.3, dampingFraction: 0.7)) {
57
- switch direction {
58
- case .left:
59
- balanceFormat =
60
- BalanceDisplayFormat.allCases[
61
- (balanceFormat.index + 1) % BalanceDisplayFormat.allCases.count
62
- ]
63
- case .right:
64
65
66
- (balanceFormat.index - 1 + BalanceDisplayFormat.allCases.count)
67
- % BalanceDisplayFormat.allCases.count
68
69
- }
70
71
72
.padding(.vertical, 35.0)
73
74
VStack {
0 commit comments