gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-taler-ios] 49/54: ScrollViewReader


From: gnunet
Subject: [taler-taler-ios] 49/54: ScrollViewReader
Date: Fri, 30 Jun 2023 22:34:21 +0200

This is an automated email from the git hooks/post-receive script.

marc-stibane pushed a commit to branch master
in repository taler-ios.

commit dab9b3071f101cbdee5c598b361cc31977495042
Author: Marc Stibane <marc@taler.net>
AuthorDate: Fri Jun 30 18:19:28 2023 +0200

    ScrollViewReader
---
 TalerWallet1/Views/Exchange/ManualWithdraw.swift  | 2 ++
 TalerWallet1/Views/Peer2peer/RequestPayment.swift | 2 ++
 TalerWallet1/Views/Peer2peer/SendAmount.swift     | 6 ++++--
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/TalerWallet1/Views/Exchange/ManualWithdraw.swift 
b/TalerWallet1/Views/Exchange/ManualWithdraw.swift
index 25f24a0..885c5a7 100644
--- a/TalerWallet1/Views/Exchange/ManualWithdraw.swift
+++ b/TalerWallet1/Views/Exchange/ManualWithdraw.swift
@@ -31,6 +31,7 @@ struct ManualWithdraw: View {
 //        let agePicker = AgePicker(ageMenuList: $ageMenuList, selectedAge: 
$selectedAge)
 
         ScrollViewReader { scrollView in
+          VStack {
             Text("from \(exchange.exchangeBaseUrl.trimURL())")
                 .font(.title3)
             CurrencyInputView(currencyField: currencyField,
@@ -68,6 +69,7 @@ struct ManualWithdraw: View {
                     }
                 } // tooMany
             } // invalid
+          }
         }
         .frame(maxWidth: .infinity, alignment: .leading)
         .padding(.horizontal)
diff --git a/TalerWallet1/Views/Peer2peer/RequestPayment.swift 
b/TalerWallet1/Views/Peer2peer/RequestPayment.swift
index 447ae0d..5df7fea 100644
--- a/TalerWallet1/Views/Peer2peer/RequestPayment.swift
+++ b/TalerWallet1/Views/Peer2peer/RequestPayment.swift
@@ -29,6 +29,7 @@ struct RequestPayment: View {
         let currencyField = CurrencyField(value: $centsToTransfer, currency: 
currency)
 
         ScrollViewReader { scrollView in
+          VStack {
             CurrencyInputView(currencyField: currencyField,
                               title: String(localized: "Amount to receive:"))
 
@@ -52,6 +53,7 @@ struct RequestPayment: View {
                 .buttonStyle(TalerButtonStyle(type: .prominent))
                 .disabled(disabled)
             }
+          }
         }
         .frame(maxWidth: .infinity, alignment: .leading)
         .padding(.horizontal)
diff --git a/TalerWallet1/Views/Peer2peer/SendAmount.swift 
b/TalerWallet1/Views/Peer2peer/SendAmount.swift
index 2aa6dec..9a78d4c 100644
--- a/TalerWallet1/Views/Peer2peer/SendAmount.swift
+++ b/TalerWallet1/Views/Peer2peer/SendAmount.swift
@@ -40,7 +40,8 @@ struct SendAmount: View {
         let currencyField = CurrencyField(value: $centsToTransfer, currency: 
currency)
 
         let fee = fee(ppCheck: peerPushCheck)
-        ScrollViewReader { scrollView in
+//        ScrollViewReader { scrollView in
+          VStack {
             let available = amountAvailable.readableDescription
             Text("Available: \(available)")
                 .font(.title3)
@@ -67,7 +68,8 @@ struct SendAmount: View {
                 .buttonStyle(TalerButtonStyle(type: .prominent))
                 .disabled(disabled)
             }
-        }
+          }
+//        }
         .frame(maxWidth: .infinity, alignment: .leading)
         .padding(.horizontal)
         .background(WalletColors().backgroundColor.edgesIgnoringSafeArea(.all))

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]