commit 1a4a13e65ae6366a2b3defe6b49f9c0e6a659d1b
parent 0ce8de4c4b90340adb9c18d1f79d37a6bfe685da
Author: Marc Stibane <marc@taler.net>
Date: Fri, 4 Jul 2025 08:59:02 +0200
cleanup
Diffstat:
3 files changed, 2 insertions(+), 14 deletions(-)
diff --git a/LICENSE.md b/LICENSE.md
@@ -1,4 +1,4 @@
-Copyright ©2022-23 Taler Systems S.A.
+Copyright ©2022-25 Taler Systems S.A.
GNU Taler is free software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
diff --git a/TalerWallet1/Helper/TalerStrings.swift b/TalerWallet1/Helper/TalerStrings.swift
@@ -58,24 +58,12 @@ extension String {
}
return result
}
-// func replacingOccurrences(of char1: String.Element, with char2: String.Element) -> String {
-// String(self.map {
-// $0 == char1 ? char2 : $0
-// })
-// }
func replacingOccurrences(of str1: String, with str2: String) -> String {
let fragments = self.components(separatedBy: str1)
if fragments.count > 1 {
return fragments.joined(separator: str2)
}
-// if let index = self.index(of: str1) {
-// if let endIndex = self.endIndex(of: str1) {
-// let substring1 = self[..<index]
-// let substring2 = self[endIndex...]
-// return substring1 + str2 + substring2
-// }
-// }
return self
}
diff --git a/TalerWallet1/Views/OIM/OIMlineView.swift b/TalerWallet1/Views/OIM/OIMlineView.swift
@@ -43,7 +43,7 @@ struct OIMlineView: View {
funds: cash.coins(),
amountVal: $amountVal,
canEdit: canEdit)
- LayoutThatFits([HStackLayout(alignment: .center), VStackLayout()]) {
+ LayoutThatFits([HStackLayout(), VStackLayout()]) {
notes
#if DEBUG
.padding(1)