From 26edb3372622ac8bbebc7b235e017b9ed343a339 Mon Sep 17 00:00:00 2001 From: Matthew Date: Mon, 10 Feb 2025 13:27:52 -0600 Subject: [PATCH] chore: remove swipe --- BDKSwiftExampleWallet/View/WalletView.swift | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/BDKSwiftExampleWallet/View/WalletView.swift b/BDKSwiftExampleWallet/View/WalletView.swift index 1558ebfc..84c108d5 100644 --- a/BDKSwiftExampleWallet/View/WalletView.swift +++ b/BDKSwiftExampleWallet/View/WalletView.swift @@ -52,23 +52,6 @@ struct WalletView: View { ] } } - .swipeGesture { direction in - withAnimation(.spring(response: 0.3, dampingFraction: 0.7)) { - switch direction { - case .left: - balanceFormat = - BalanceDisplayFormat.allCases[ - (balanceFormat.index + 1) % BalanceDisplayFormat.allCases.count - ] - case .right: - balanceFormat = - BalanceDisplayFormat.allCases[ - (balanceFormat.index - 1 + BalanceDisplayFormat.allCases.count) - % BalanceDisplayFormat.allCases.count - ] - } - } - } .padding(.vertical, 35.0) VStack {