commit f9d124168e833866d3a094b298ff1b095893fdb2 parent 9b58bfd573311bdaac97e03ca2b053b4f7304ef7 Author: Marc Stibane <marc@taler.net> Date: Sun, 14 Jul 2024 18:30:05 +0200 cleanup Diffstat:
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git 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 @@ -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 @@ -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 @@ -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