[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-ios] 34/35: ScrollViewReader
From: |
gnunet |
Subject: |
[taler-taler-ios] 34/35: ScrollViewReader |
Date: |
Thu, 27 Jul 2023 09:10:07 +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 297082c0fab60fb305d7ed96de4aa52532405d09
Author: Marc Stibane <marc@taler.net>
AuthorDate: Wed Jul 26 11:09:56 2023 +0200
ScrollViewReader
---
TalerWallet1/Views/Exchange/ManualWithdraw.swift | 2 +-
TalerWallet1/Views/Payment/PaymentURIView.swift | 2 --
TalerWallet1/Views/Peer2peer/RequestPayment.swift | 6 ++----
TalerWallet1/Views/Peer2peer/SendAmount.swift | 4 ++--
TalerWallet1/Views/WithdrawBankIntegrated/WithdrawAcceptDone.swift | 4 +---
5 files changed, 6 insertions(+), 12 deletions(-)
diff --git a/TalerWallet1/Views/Exchange/ManualWithdraw.swift
b/TalerWallet1/Views/Exchange/ManualWithdraw.swift
index 2e2705e..6077474 100644
--- a/TalerWallet1/Views/Exchange/ManualWithdraw.swift
+++ b/TalerWallet1/Views/Exchange/ManualWithdraw.swift
@@ -30,7 +30,7 @@ struct ManualWithdraw: View {
let currencyField = CurrencyField(value: $centsToTransfer, currency:
currency) // becomeFirstResponder
// let agePicker = AgePicker(ageMenuList: $ageMenuList, selectedAge:
$selectedAge)
- ScrollViewReader { scrollView in
+ ScrollView {
VStack {
CurrencyInputView(currencyField: currencyField,
title: String(localized: "Amount to
withdraw:"))
diff --git a/TalerWallet1/Views/Payment/PaymentURIView.swift
b/TalerWallet1/Views/Payment/PaymentURIView.swift
index 00a081b..4b0150d 100644
--- a/TalerWallet1/Views/Payment/PaymentURIView.swift
+++ b/TalerWallet1/Views/Payment/PaymentURIView.swift
@@ -42,7 +42,6 @@ struct PaymentURIView: View {
var body: some View {
if let preparePayResult {
- ScrollViewReader { scrollView in
let effective = preparePayResult.amountEffective
List {
let baseURL =
preparePayResult.contractTerms.exchanges.first?.url
@@ -85,7 +84,6 @@ struct PaymentURIView: View {
}
}
.navigationTitle(navTitle)
- } // ScrollViewReader
} else {
let badURL = "Error in Link: \(url)"
WithdrawProgressView(message: url.host ?? badURL)
diff --git a/TalerWallet1/Views/Peer2peer/RequestPayment.swift
b/TalerWallet1/Views/Peer2peer/RequestPayment.swift
index 56fa7cb..18ee298 100644
--- a/TalerWallet1/Views/Peer2peer/RequestPayment.swift
+++ b/TalerWallet1/Views/Peer2peer/RequestPayment.swift
@@ -28,8 +28,7 @@ struct RequestPayment: View {
let navTitle = String(localized: "Request \(currency)", comment:
"Request currency, Dialog Title")
let currencyField = CurrencyField(value: $centsToTransfer, currency:
currency)
- ScrollViewReader { scrollView in
- VStack {
+ ScrollView { VStack {
CurrencyInputView(currencyField: currencyField,
title: String(localized: "Amount to receive:"))
@@ -54,8 +53,7 @@ struct RequestPayment: View {
.disabled(disabled)
}
Spacer()
- }
- }
+ } }
.frame(maxWidth: .infinity, alignment: .leading)
.padding(.horizontal)
.background(WalletColors().backgroundColor.edgesIgnoringSafeArea(.all))
diff --git a/TalerWallet1/Views/Peer2peer/SendAmount.swift
b/TalerWallet1/Views/Peer2peer/SendAmount.swift
index 74b7f1d..c5d152d 100644
--- a/TalerWallet1/Views/Peer2peer/SendAmount.swift
+++ b/TalerWallet1/Views/Peer2peer/SendAmount.swift
@@ -40,7 +40,7 @@ struct SendAmount: View {
let currencyField = CurrencyField(value: $centsToTransfer, currency:
currency)
let fee = fee(ppCheck: peerPushCheck)
-// ScrollViewReader { scrollView in
+ ScrollView {
VStack(alignment: .trailing) {
let available = amountAvailable.readableDescription
Text("Available: \(available)")
@@ -66,7 +66,7 @@ struct SendAmount: View {
.disabled(disabled)
Spacer()
}
-// }
+ }
.frame(maxWidth: .infinity, alignment: .leading)
.padding(.horizontal)
.background(WalletColors().backgroundColor.edgesIgnoringSafeArea(.all))
diff --git a/TalerWallet1/Views/WithdrawBankIntegrated/WithdrawAcceptDone.swift
b/TalerWallet1/Views/WithdrawBankIntegrated/WithdrawAcceptDone.swift
index aa9ca99..ec64275 100644
--- a/TalerWallet1/Views/WithdrawBankIntegrated/WithdrawAcceptDone.swift
+++ b/TalerWallet1/Views/WithdrawBankIntegrated/WithdrawAcceptDone.swift
@@ -27,8 +27,7 @@ struct WithdrawAcceptDone: View {
let _ = Self._printChanges()
let _ = symLog.vlog() // just to get the # to compare it with
.onAppear & onDisappear
#endif
- ScrollViewReader { scrollView in
- VStack {
+ Group {
if let transactionId {
TransactionDetailView(transactionId: transactionId,
reloadAction: reloadOneAction,
@@ -62,7 +61,6 @@ struct WithdrawAcceptDone: View {
controller.playSound(0)
}
}
- }
}
}
// MARK: -
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-taler-ios] 31/35: Expired, pending, (continued)
- [taler-taler-ios] 31/35: Expired, pending, gnunet, 2023/07/27
- [taler-taler-ios] 35/35: iOS: bump version to 0.9.3 (16), gnunet, 2023/07/27
- [taler-taler-ios] 22/35: extension TransactionsListView.Content => TransactionsRowsView, gnunet, 2023/07/27
- [taler-taler-ios] 21/35: fanblades.slash and clock.badge.xmark not in iOS 15, gnunet, 2023/07/27
- [taler-taler-ios] 13/35: SendDone, gnunet, 2023/07/27
- [taler-taler-ios] 17/35: Warnings and hints no longer use "coins", gnunet, 2023/07/27
- [taler-taler-ios] 26/35: debug, cleanup, gnunet, 2023/07/27
- [taler-taler-ios] 30/35: small fixes, gnunet, 2023/07/27
- [taler-taler-ios] 32/35: TransactionDetailView, gnunet, 2023/07/27
- [taler-taler-ios] 16/35: rendering on small screens, gnunet, 2023/07/27
- [taler-taler-ios] 34/35: ScrollViewReader,
gnunet <=
- [taler-taler-ios] 20/35: ToS, move Exchange down, gnunet, 2023/07/27
- [taler-taler-ios] 29/35: show up to 3 transactions in Balances, gnunet, 2023/07/27
- [taler-taler-ios] 33/35: Comments, gnunet, 2023/07/27
- [taler-taler-ios] 15/35: ToS, gnunet, 2023/07/27
- [taler-taler-ios] 24/35: ToS, gnunet, 2023/07/27
- [taler-taler-ios] 23/35: Hints for manual withdrawal, Accessibility, gnunet, 2023/07/27
- [taler-taler-ios] 28/35: QRcode rendering and hint, gnunet, 2023/07/27