gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-ios] 189/204: AccountPicker


From: gnunet
Subject: [taler-taler-ios] 189/204: AccountPicker
Date: Thu, 05 Dec 2024 23:52:37 +0100

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 6360d870644a2b2759eac756ca01bfa2d2b61f64
Author: Marc Stibane <marc@taler.net>
AuthorDate: Wed Dec 4 07:23:31 2024 +0100

    AccountPicker
---
 TalerWallet1/Views/Transactions/ManualDetailsV.swift | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/TalerWallet1/Views/Transactions/ManualDetailsV.swift 
b/TalerWallet1/Views/Transactions/ManualDetailsV.swift
index ebda4ab..ca00912 100644
--- a/TalerWallet1/Views/Transactions/ManualDetailsV.swift
+++ b/TalerWallet1/Views/Transactions/ManualDetailsV.swift
@@ -164,15 +164,14 @@ struct ManualDetailsV: View {
                             .listRowSeparator(.hidden)
                     }
                     if validDetails.count > 1 {
-                        let picker = AccountPicker(title: String(localized: 
"Bank"),
-                                                   value: $accountID,
-                                          accountDetails: validDetails,
-                                                  action: redraw)
-                            .listRowSeparator(.hidden)
                         if validDetails.count > 3 { // too many for 
SegmentControl
-                            picker.pickerStyle(.menu)
+                            AccountPicker(title: String(localized: "Bank"),
+                                          value: $accountID,
+                                 accountDetails: validDetails,
+                                         action: redraw)
+                            .listRowSeparator(.hidden)
+                            .pickerStyle(.menu)
                         } else {
-//                            picker.pickerStyle(.segmented)
                             SegmentControl(value: $accountID, accountDetails: 
validDetails, action: redraw)
                                 .listRowSeparator(.hidden)
                         }

-- 
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]