summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Stibane <marc@taler.net>2024-02-04 14:34:32 +0100
committerMarc Stibane <marc@taler.net>2024-02-04 14:34:32 +0100
commit5c236f1101eccb9db17f87440099cdb7a819ca08 (patch)
treefd137e03fbe764e739fab619502fafb0b3c8a651
parent6d808db07f6268e5097711d4acc97b56663bbf4b (diff)
downloadtaler-ios-5c236f1101eccb9db17f87440099cdb7a819ca08.tar.gz
taler-ios-5c236f1101eccb9db17f87440099cdb7a819ca08.tar.bz2
taler-ios-5c236f1101eccb9db17f87440099cdb7a819ca08.zip
ScrollVStack
-rw-r--r--TalerWallet1/Views/Peer2peer/RequestPayment.swift3
-rw-r--r--TalerWallet1/Views/Peer2peer/SendAmount.swift3
2 files changed, 2 insertions, 4 deletions
diff --git a/TalerWallet1/Views/Peer2peer/RequestPayment.swift b/TalerWallet1/Views/Peer2peer/RequestPayment.swift
index 189c861..5a4cc72 100644
--- a/TalerWallet1/Views/Peer2peer/RequestPayment.swift
+++ b/TalerWallet1/Views/Peer2peer/RequestPayment.swift
@@ -78,10 +78,9 @@ struct RequestPayment: View {
.background(NavigationLink(destination: shortcutDestination, isActive: $buttonSelected)
{ EmptyView() }.frame(width: 0).opacity(0).hidden()
)
- } } // ScrollVStack
+ }.padding(.horizontal) } // ScrollVStack
.frame(maxWidth: .infinity, alignment: .leading)
// .scrollBounceBehavior(.basedOnSize) needs iOS 16.4
- .padding(.horizontal) // Lists do this automatically, but this is a VStack
.background(WalletColors().backgroundColor.edgesIgnoringSafeArea(.all))
.navigationTitle(navTitle)
.onAppear {
diff --git a/TalerWallet1/Views/Peer2peer/SendAmount.swift b/TalerWallet1/Views/Peer2peer/SendAmount.swift
index 4d28a0e..a3bc7df 100644
--- a/TalerWallet1/Views/Peer2peer/SendAmount.swift
+++ b/TalerWallet1/Views/Peer2peer/SendAmount.swift
@@ -101,10 +101,9 @@ struct SendAmount: View {
.background(NavigationLink(destination: shortcutDestination, isActive: $buttonSelected)
{ EmptyView() }.frame(width: 0).opacity(0).hidden()
)
- } } // ScrollVStack
+ }.padding(.horizontal) } // ScrollVStack
.frame(maxWidth: .infinity, alignment: .leading)
// .scrollBounceBehavior(.basedOnSize) needs iOS 16.4
- .padding(.horizontal)
.background(WalletColors().backgroundColor.edgesIgnoringSafeArea(.all))
.navigationTitle(navTitle)
.onAppear {