Restart when turning off debug preferences

pull/820/head
Alex Baker 6 years ago
parent 697951a7e4
commit 5a6a9cbf02

@ -24,9 +24,7 @@ public class DebugPreferences extends InjectingPreferenceActivity {
findPreference(pref)
.setOnPreferenceChangeListener(
(preference, newValue) -> {
if (newValue != null && ((Boolean) newValue)) {
showRestartDialog();
}
showRestartDialog();
return true;
});
}

Loading…
Cancel
Save