Minor fixes

This commit is contained in:
世界
2026-04-20 05:28:31 +08:00
parent 142e82034e
commit a09170256d
10 changed files with 69 additions and 61 deletions
-6
View File
@@ -139,10 +139,4 @@ public enum SharedPreferences {
public static let enabledDashboardCards = Preference<[String]>("enabled_dashboard_cards", defaultValue: [])
public static let dashboardCardOrder = Preference<[String]>("dashboard_card_order", defaultValue: [])
#if DEBUG
public static let inDebug = true
#else
public static let inDebug = false
#endif
}
+7 -1
View File
@@ -16,7 +16,13 @@ public enum Variant {
public static let applicationName = "SFT"
#endif
public static var isBeta = LibboxVersion().contains("-")
public static let isBeta = LibboxVersion().contains("-")
#if DEBUG
public static let inDebug = true
#else
public static let inDebug = false
#endif
#if os(iOS)
public static var debugNoIOS26 = false