commit 5ec62a4f22bcab3aadb7ac5852d246cde51df07f parent 1a3d88d494770c9f3ea63ad5b8ce8e6a120ed36f Author: Marc Stibane <marc@taler.net> Date: Fri, 22 Sep 2023 17:28:07 +0200 Xcode 14 doesn't know Swift 5.9 Diffstat:
| M | 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 @@ -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() +//}