[Settings]: Hide diagnostics section in settings screen by default on Release builds and non-beta debug builds

This commit is contained in:
Magesh K
2025-01-12 20:59:09 +05:30
parent a8395ebcdc
commit e2836fcd70

View File

@@ -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()