gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-ios] 30/54: bugfix


From: gnunet
Subject: [taler-taler-ios] 30/54: bugfix
Date: Fri, 30 Jun 2023 22:34:02 +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 f513e92c4f6ac1f9f42e1933baeb1924bdc0597f
Author: Marc Stibane <marc@taler.net>
AuthorDate: Tue Jun 27 14:51:00 2023 +0200

    bugfix
---
 TalerWallet1/Controllers/Controller.swift                   | 11 ++++++-----
 TalerWallet1/Views/Transactions/TransactionDetailView.swift |  1 +
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/TalerWallet1/Controllers/Controller.swift 
b/TalerWallet1/Controllers/Controller.swift
index 3dc051f..8752996 100644
--- a/TalerWallet1/Controllers/Controller.swift
+++ b/TalerWallet1/Controllers/Controller.swift
@@ -14,12 +14,12 @@ enum BackendState {
     case error
 }
 
-enum UrlCommand: String {
+enum UrlCommand {
     case unknown
     case withdraw
     case pay
-    case payPull = "pay-pull"
-    case payPush = "pay-push"
+    case payPull
+    case payPush
 }
 
 // MARK: -
@@ -35,8 +35,9 @@ class Controller: ObservableObject {
         backendState = .instantiated
     }
 
-    @MainActor func initWalletCoreM(_ model: WalletModel)
-      async throws {           // M for MainActor
+    @MainActor
+    func initWalletCore(_ model: WalletModel)
+      async throws {
         if backendState == .instantiated {
             backendState = .initing
             do {
diff --git a/TalerWallet1/Views/Transactions/TransactionDetailView.swift 
b/TalerWallet1/Views/Transactions/TransactionDetailView.swift
index 486984c..102cfab 100644
--- a/TalerWallet1/Views/Transactions/TransactionDetailView.swift
+++ b/TalerWallet1/Views/Transactions/TransactionDetailView.swift
@@ -155,6 +155,7 @@ struct TransactionDetailView: View {
                                         if let destination = URL(string: 
confirmationUrl) {
                                             // Show Hint that User should 
Confirm on bank website
                                             Text("Waiting for bank 
confirmation")
+                                                
.multilineTextAlignment(.leading)
                                                 .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.



reply via email to

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