mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
[Settings]: Hide diagnostics section in settings screen by default on Release builds and non-beta debug builds
This commit is contained in:
@@ -101,9 +101,9 @@ final class AppDelegate: UIResponder, UIApplicationDelegate {
|
||||
|
||||
UserDefaults.standard.preferredServerID = Bundle.main.object(forInfoDictionaryKey: Bundle.Info.serverID) as? String
|
||||
|
||||
// #if DEBUG || BETA
|
||||
#if DEBUG && (targetEnvironment(simulator) || BETA)
|
||||
UserDefaults.standard.isDebugModeEnabled = true
|
||||
// #endif
|
||||
#endif
|
||||
|
||||
self.prepareForBackgroundFetch()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user