[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-ios] 19/35: Move Status to top
From: |
gnunet |
Subject: |
[taler-taler-ios] 19/35: Move Status to top |
Date: |
Thu, 27 Jul 2023 09:09:52 +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 0ee1405c40134c124edda6d1f2e45a478b5fa21a
Author: Marc Stibane <marc@taler.net>
AuthorDate: Mon Jul 24 16:37:16 2023 +0200
Move Status to top
---
TalerWallet1/Views/Transactions/ThreeAmounts.swift | 7 -------
.../Views/Transactions/TransactionDetailView.swift | 16 +++++++++++++---
2 files changed, 13 insertions(+), 10 deletions(-)
diff --git a/TalerWallet1/Views/Transactions/ThreeAmounts.swift
b/TalerWallet1/Views/Transactions/ThreeAmounts.swift
index 85530cf..8f2287a 100644
--- a/TalerWallet1/Views/Transactions/ThreeAmounts.swift
+++ b/TalerWallet1/Views/Transactions/ThreeAmounts.swift
@@ -85,13 +85,6 @@ struct ThreeAmountsView: View {
.frame(maxWidth: .infinity, alignment: .leading)
.listRowSeparator(.hidden)
}
- if let status {
- HStack {
- Spacer()
- Text("Status: \(status)")
- .font(.title2)
- }.padding()
- }
}
}
}
diff --git a/TalerWallet1/Views/Transactions/TransactionDetailView.swift
b/TalerWallet1/Views/Transactions/TransactionDetailView.swift
index 37db724..3308ed0 100644
--- a/TalerWallet1/Views/Transactions/TransactionDetailView.swift
+++ b/TalerWallet1/Views/Transactions/TransactionDetailView.swift
@@ -67,7 +67,16 @@ struct TransactionDetailView: View {
} // Suspend + Resume buttons
Text(dateString)
.font(.title2)
-// .listRowSeparator(.hidden)
+ .listRowSeparator(.hidden)
+ HStack {
+ Text(verbatim: "|") // only reason for this
leading-aligned text is to get a nice full length listRowSeparator
+ .font(.title2)
+ .accessibilityHidden(true)
+ .foregroundColor(Color.clear)
+ Spacer()
+ Text("Status: \(common.txState.major.localizedState)")
+ .font(.title2)
+ } .listRowSeparator(.automatic)
SwitchCase(transaction: $transaction)
if transaction.isAbortable { if let abortAction {
@@ -180,9 +189,10 @@ struct TransactionDetailView: View {
if !confirmed {
if let confirmationUrl =
withdrawalDetails.bankConfirmationUrl {
if let destination = URL(string:
confirmationUrl) {
- VStack { // Show Hint that
User should Confirm on bank website
+ VStack(alignment: .leading) {
// Show Hint that User should Confirm on bank website
Text("Waiting for bank
confirmation")
-
.multilineTextAlignment(.leading)
+ .fixedSize(horizontal:
false, vertical: true) // wrap in scrollview
+
.multilineTextAlignment(.leading) // otherwise
.listRowSeparator(.hidden)
Link("Confirm with bank",
destination: destination)
.buttonStyle(TalerButtonStyle(type: .prominent, narrow: false, aligned:
.center))
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-taler-ios] 05/35: insufficientBalance, (continued)
- [taler-taler-ios] 05/35: insufficientBalance, gnunet, 2023/07/27
- [taler-taler-ios] 02/35: navigationBarTitleDisplayMode, gnunet, 2023/07/27
- [taler-taler-ios] 06/35: no need to call urlCommand async, gnunet, 2023/07/27
- [taler-taler-ios] 10/35: Atkinson Hyperlegible, gnunet, 2023/07/27
- [taler-taler-ios] 09/35: localizations, wording, gnunet, 2023/07/27
- [taler-taler-ios] 08/35: iOS 15: show ToS, gnunet, 2023/07/27
- [taler-taler-ios] 11/35: monospacedDigit, gnunet, 2023/07/27
- [taler-taler-ios] 07/35: iOS: bump version to 0.9.3 (15), gnunet, 2023/07/27
- [taler-taler-ios] 04/35: Settings: Reset wallet, gnunet, 2023/07/27
- [taler-taler-ios] 18/35: Expiration Constants, gnunet, 2023/07/27
- [taler-taler-ios] 19/35: Move Status to top,
gnunet <=
- [taler-taler-ios] 25/35: Simplified, gnunet, 2023/07/27
- [taler-taler-ios] 12/35: PayTo URL listRowSeparator, gnunet, 2023/07/27
- [taler-taler-ios] 14/35: Sound for Expired, gnunet, 2023/07/27
- [taler-taler-ios] 27/35: Postpone update until onAppear, gnunet, 2023/07/27
- [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