Fix non scrollable wallet screen

Changelog-Fixed: Fix non scrollable wallet screen
Signed-off-by: Swift Coder <scoder1747@gmail.com>
This commit is contained in:
Swift Coder
2024-12-16 10:22:55 -05:00
committed by Daniel D’Aquino
parent 3986308638
commit 19e312a8fb

View File

@@ -19,11 +19,11 @@ struct WalletView: View {
}
func MainWalletView(nwc: WalletConnectURL) -> some View {
VStack {
ScrollView {
VStack(spacing: 35) {
if !damus_state.settings.nozaps {
SupportDamus
Spacer()
.padding(.vertical, 20)
}
VStack(spacing: 5) {
@@ -74,12 +74,14 @@ struct WalletView: View {
.frame(minWidth: 300, maxWidth: .infinity, maxHeight: 18, alignment: .center)
}
.buttonStyle(GradientButtonStyle())
.padding(.bottom, 50) // Bottom padding while Scrolling
}
.navigationTitle(NSLocalizedString("Wallet", comment: "Navigation title for Wallet view"))
.navigationBarTitleDisplayMode(.inline)
.padding()
}
}
func donation_binding() -> Binding<Double> {
return Binding(get: {