[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-ios] 01/02: Xcode 14 doesn't know Swift 5.9
From: |
gnunet |
Subject: |
[taler-taler-ios] 01/02: Xcode 14 doesn't know Swift 5.9 |
Date: |
Fri, 22 Sep 2023 17:31:38 +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 5ec62a4f22bcab3aadb7ac5852d246cde51df07f
Author: Marc Stibane <marc@taler.net>
AuthorDate: Fri Sep 22 17:28:07 2023 +0200
Xcode 14 doesn't know Swift 5.9
---
TalerWallet1/Helper/Font+Taler.swift | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/TalerWallet1/Helper/Font+Taler.swift
b/TalerWallet1/Helper/Font+Taler.swift
index ef4e612..64e32c8 100644
--- a/TalerWallet1/Helper/Font+Taler.swift
+++ b/TalerWallet1/Helper/Font+Taler.swift
@@ -69,9 +69,9 @@ struct AccessibleFont {
var bold: Font
static var talerFont: Int {
if ProcessInfo.processInfo.environment["XCODE_RUNNING_FOR_PREVIEWS"]
== "1" {
- 3
+ return 3
} else {
- Controller.shared.talerFont
+ return Controller.shared.talerFont
}
}
@@ -255,6 +255,6 @@ struct ContentViewFonts: View {
}
}
-#Preview("Font View") {
- ContentViewFonts()
-}
+//#Preview("Font View") {
+// ContentViewFonts()
+//}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.