Add button to disable deprecated warnings

This commit is contained in:
世界
2025-02-20 10:57:45 +08:00
parent f9eecf8f8c
commit 2fd7bdc822
4 changed files with 38 additions and 0 deletions
+4
View File
@@ -83,6 +83,10 @@ public enum SharedPreferences {
await alwaysOn.set(nil)
}
// Core
public static let disableDeprecatedWarnings = Preference<Bool>("disable_deprecated_warnings", defaultValue: false)
#if DEBUG
public static let inDebug = true
#else