Set default hidden_sidebar=true for iPhone only

This commit is contained in:
Duy Tran Khanh committed 2023-04-07 16:37:56 +07:00
1 parent cf03acbe92
commit ca98257884
1 file changed
+1 -1
+1 -1
View File
@@ -155,7 +155,7 @@ void loadPreferences(BOOL reset) {
setDefaultValueForPref(prefDict, @"check_sha", @YES);
setDefaultValueForPref(prefDict, @"auto_ram", @(!getEntitlementValue(@"com.apple.private.memorystatus")));
setDefaultValueForPref(prefDict, @"unsupported_warn_counter", @(0));
setDefaultValueForPref(prefDict, @"hidden_sidebar", @YES);
setDefaultValueForPref(prefDict, @"hidden_sidebar", @(realUIIdiom == UIUserInterfaceIdiomPhone));
setDefaultValueForPref(prefDict, @"enable_altkit", @YES);
// Debug settings