gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-ios] 28/204: dropBar, padding


From: gnunet
Subject: [taler-taler-ios] 28/204: dropBar, padding
Date: Thu, 05 Dec 2024 23:49:56 +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 043fa214c0000b4a22e3e49d45e3fcd3d0f0581a
Author: Marc Stibane <marc@taler.net>
AuthorDate: Wed Sep 25 09:28:17 2024 +0200

    dropBar, padding
---
 TalerWallet1/Views/Actions/ActionsSheet.swift | 22 +++++-----------------
 1 file changed, 5 insertions(+), 17 deletions(-)

diff --git a/TalerWallet1/Views/Actions/ActionsSheet.swift 
b/TalerWallet1/Views/Actions/ActionsSheet.swift
index d7b2cb6..dc4b00e 100644
--- a/TalerWallet1/Views/Actions/ActionsSheet.swift
+++ b/TalerWallet1/Views/Actions/ActionsSheet.swift
@@ -35,20 +35,11 @@ struct ActionsSheet: View {
 
     var body: some View {
         VStack {
-            HStack(spacing: 0) {
-                let width = UIScreen.screenWidth / 3
-                let height = 4.0
-                Rectangle()
-                    .opacity(0.001)
-                    .frame(width: width, height: height)
-                RoundedRectangle(cornerRadius: 2)
-                    .foregroundColor(.primary)
-                    .frame(width: width, height: height)
-                Rectangle()
-                    .opacity(0.001)
-                    .frame(width: width, height: height)
-            } // drop bar
-            .listRowSeparator(.hidden)
+            let width = UIScreen.screenWidth / 3
+            RoundedRectangle(cornerRadius: 8)                                  
 // dropBar
+                .foregroundColor(.primary)
+                .frame(width: width + 6.5, height: 5)
+                .padding(.bottom, 10)
 
             if hasKudos {
                 if !minimalistic && showSpendingHint {
@@ -56,7 +47,6 @@ struct ActionsSheet: View {
                         .talerFont(.body)
                         .multilineTextAlignment(.leading)
                         .fixedSize(horizontal: false, vertical: true)          
 // must set this otherwise fixedInnerHeight doesn't work
-                        .listRowSeparator(.hidden)
                 }
                 let title = String(localized: "LinkTitle_DEMOSHOP", 
defaultValue: "Spend demo money")
                 let action = {
@@ -74,7 +64,6 @@ struct ActionsSheet: View {
                 }
                 .buttonStyle(TalerButtonStyle(type: .bordered, narrow: false, 
aligned: .center))
                 .accessibilityHint(String(localized: "Will go to the demo shop 
website."))
-                .listRowSeparator(.hidden)
                 .padding(.bottom, 20)
             }
 
@@ -87,7 +76,6 @@ struct ActionsSheet: View {
             DepositWithdrawV(stack: stack.push(),
                           balances: $balances,
                   amountToTransfer: $amountToTransfer)   // does still have 
the wrong currency
-            .padding(.bottom, 12)
         }
     }
 }

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