taler-ios

iOS apps for GNU Taler (wallet)
Log | Files | Refs | README | LICENSE

commit 5c236f1101eccb9db17f87440099cdb7a819ca08
parent 6d808db07f6268e5097711d4acc97b56663bbf4b
Author: Marc Stibane <marc@taler.net>
Date:   Sun,  4 Feb 2024 14:34:32 +0100

ScrollVStack

Diffstat:
MTalerWallet1/Views/Peer2peer/RequestPayment.swift | 3+--
MTalerWallet1/Views/Peer2peer/SendAmount.swift | 3+--
2 files changed, 2 insertions(+), 4 deletions(-)

diff --git 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 @@ -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 {