Fix preference errors

pull/820/head
Alex Baker 6 years ago
parent 3217627907
commit 5d3b72c54b

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

@ -309,5 +309,5 @@
<string name="p_place_provider">place_provider</string>
<string name="preference_screen">preference_screen</string>
<string name="p_add_google_task_account">add_google_task_account</string>
<string name="p_add_caldav_account">add_google_task_account</string>
<string name="p_add_caldav_account">add_caldav_account</string>
</resources>

Loading…
Cancel
Save