Skip to content

Commit 873e0ce

Browse files
authored
chore: remove swipe
1 parent a071238 commit 873e0ce

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

BDKSwiftExampleWallet/View/WalletView.swift

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -52,23 +52,6 @@ struct WalletView: View {
5252
]
5353
}
5454
}
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-
balanceFormat =
65-
BalanceDisplayFormat.allCases[
66-
(balanceFormat.index - 1 + BalanceDisplayFormat.allCases.count)
67-
% BalanceDisplayFormat.allCases.count
68-
]
69-
}
70-
}
71-
}
7255
.padding(.vertical, 35.0)
7356

7457
VStack {

0 commit comments

Comments
 (0)