[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-ios] 02/03: cleanup
From: |
gnunet |
Subject: |
[taler-taler-ios] 02/03: cleanup |
Date: |
Sun, 14 Jul 2024 18:48:41 +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 f9d124168e833866d3a094b298ff1b095893fdb2
Author: Marc Stibane <marc@taler.net>
AuthorDate: Sun Jul 14 18:30:05 2024 +0200
cleanup
---
TalerWallet.xcodeproj/project.pbxproj | 2 +-
TalerWallet1/Views/HelperViews/AmountInputV.swift | 2 +-
TalerWallet1/Views/Sheets/Payment/PaymentView.swift | 2 +-
.../Views/Sheets/WithdrawBankIntegrated/WithdrawTOSView.swift | 8 ++++----
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/TalerWallet.xcodeproj/project.pbxproj
b/TalerWallet.xcodeproj/project.pbxproj
index 3efe86a..a97bb06 100644
--- a/TalerWallet.xcodeproj/project.pbxproj
+++ b/TalerWallet.xcodeproj/project.pbxproj
@@ -766,9 +766,9 @@
4EB0952A2989CBFE0043A8A1 /* Payment */ = {
isa = PBXGroup;
children = (
+ 4EEC11952B840F1100146CFF /* PayTemplateV.swift
*/,
4EB0952D2989CBFE0043A8A1 /* PaymentView.swift
*/,
4E6EF56A2B65A33300AF252A /* PaymentDone.swift
*/,
- 4EEC11952B840F1100146CFF /* PayTemplateV.swift
*/,
);
path = Payment;
sourceTree = "<group>";
diff --git a/TalerWallet1/Views/HelperViews/AmountInputV.swift
b/TalerWallet1/Views/HelperViews/AmountInputV.swift
index 00984b3..e258368 100644
--- a/TalerWallet1/Views/HelperViews/AmountInputV.swift
+++ b/TalerWallet1/Views/HelperViews/AmountInputV.swift
@@ -69,7 +69,7 @@ struct AmountInputV: View {
.talerFont(.title3)
.padding(.bottom, 2)
// .accessibility(sortPriority: 3)
- }
+ } // available
CurrencyInputView(amount: $amountToTransfer,
available: amountAvailable,
title: amountLabel,
diff --git a/TalerWallet1/Views/Sheets/Payment/PaymentView.swift
b/TalerWallet1/Views/Sheets/Payment/PaymentView.swift
index 2462f28..086aa44 100644
--- a/TalerWallet1/Views/Sheets/Payment/PaymentView.swift
+++ b/TalerWallet1/Views/Sheets/Payment/PaymentView.swift
@@ -154,7 +154,7 @@ struct PaymentView: View {
})
.buttonStyle(TalerButtonStyle(type: .bordered))
.padding(.horizontal)
- }
+ } // Cancel
}
.navigationTitle(navTitle)
} else {
diff --git
a/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawTOSView.swift
b/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawTOSView.swift
index 6ef0282..ac19fa1 100644
--- a/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawTOSView.swift
+++ b/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawTOSView.swift
@@ -111,7 +111,7 @@ extension WithdrawTOSView {
var body: some View {
let title = String(localized: "Language:", comment: "title of ToS
language selection")
List {
- if tos.tosAvailableLanguages.count > 1 {
+ if tos.tosAvailableLanguages.count > 1 {
Picker(title, selection: $selectedLanguage) {
ForEach(tos.tosAvailableLanguages, id: \.self) { code
in
let languageName =
Locale.current.localizedString(forLanguageCode: code)
@@ -128,15 +128,15 @@ extension WithdrawTOSView {
await languageAction(selected)
}
}
- }
+ }
if tos.contentType == MARKDOWN {
Section {
let content = MarkdownContent(tos.content)
Markdown(content)
}
} else {
- let components = tos.content.components(separatedBy: "\n\n")
- ForEach (components, id: \.self) { term0 in
+ let components = tos.content.components(separatedBy:
"\n\n")
+ ForEach (components, id: \.self) { term0 in
let term1 = term0.replacingOccurrences(of: "\n ",
with: " ") // newline + 5 blanks
let term2 = term1.replacingOccurrences(of: "\n ",
with: " ") // newline + 4 blanks
let term3 = term2.replacingOccurrences(of: "\n ",
with: " ") // newline + 3 blanks
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.