From e2836fcd70f7fa77f5ec3b2e9c94dad2766dcf80 Mon Sep 17 00:00:00 2001 From: Magesh K <47920326+mahee96@users.noreply.github.com> Date: Sun, 12 Jan 2025 20:59:09 +0530 Subject: [PATCH] [Settings]: Hide diagnostics section in settings screen by default on Release builds and non-beta debug builds --- AltStore/AppDelegate.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AltStore/AppDelegate.swift b/AltStore/AppDelegate.swift index 85010718..f0a3a063 100644 --- a/AltStore/AppDelegate.swift +++ b/AltStore/AppDelegate.swift @@ -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()