Prevent reboots by default

pull/156/head
Fox2Code 2 years ago
parent 039480ebb0
commit 7757f6f892

@ -94,7 +94,7 @@ public class MainApplication extends CompatApplication {
}
public static boolean shouldPreventReboot() {
return getSharedPreferences().getBoolean("pref_prevent_reboot", false);
return getSharedPreferences().getBoolean("pref_prevent_reboot", true);
}
public static boolean isShowIncompatibleModules() {

@ -103,7 +103,7 @@
app:singleLineTitle="false" />
<SwitchPreferenceCompat
app:defaultValue="false"
app:defaultValue="true"
app:key="pref_prevent_reboot"
app:icon="@drawable/ic_reboot_24"
app:title="@string/prevent_reboot_pref"

Loading…
Cancel
Save