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:
committed by
Daniel D’Aquino
parent
3986308638
commit
19e312a8fb
@@ -19,11 +19,11 @@ struct WalletView: View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func MainWalletView(nwc: WalletConnectURL) -> some View {
|
func MainWalletView(nwc: WalletConnectURL) -> some View {
|
||||||
VStack {
|
ScrollView {
|
||||||
|
VStack(spacing: 35) {
|
||||||
if !damus_state.settings.nozaps {
|
if !damus_state.settings.nozaps {
|
||||||
SupportDamus
|
SupportDamus
|
||||||
|
.padding(.vertical, 20)
|
||||||
Spacer()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
VStack(spacing: 5) {
|
VStack(spacing: 5) {
|
||||||
@@ -74,12 +74,14 @@ struct WalletView: View {
|
|||||||
.frame(minWidth: 300, maxWidth: .infinity, maxHeight: 18, alignment: .center)
|
.frame(minWidth: 300, maxWidth: .infinity, maxHeight: 18, alignment: .center)
|
||||||
}
|
}
|
||||||
.buttonStyle(GradientButtonStyle())
|
.buttonStyle(GradientButtonStyle())
|
||||||
|
.padding(.bottom, 50) // Bottom padding while Scrolling
|
||||||
|
|
||||||
}
|
}
|
||||||
.navigationTitle(NSLocalizedString("Wallet", comment: "Navigation title for Wallet view"))
|
.navigationTitle(NSLocalizedString("Wallet", comment: "Navigation title for Wallet view"))
|
||||||
.navigationBarTitleDisplayMode(.inline)
|
.navigationBarTitleDisplayMode(.inline)
|
||||||
.padding()
|
.padding()
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
func donation_binding() -> Binding<Double> {
|
func donation_binding() -> Binding<Double> {
|
||||||
return Binding(get: {
|
return Binding(get: {
|
||||||
|
|||||||
Reference in New Issue
Block a user