|
|
|
|
@ -87,6 +87,8 @@ public class AstridPreferences {
|
|
|
|
|
|
|
|
|
|
Preferences.setIfUnset(prefs, editor, r, R.string.p_calendar_reminders, true);
|
|
|
|
|
|
|
|
|
|
String dragDropTestInitialized = "android_drag_drop_initialized"; //$NON-NLS-1$
|
|
|
|
|
if (!Preferences.getBoolean(dragDropTestInitialized, false)) {
|
|
|
|
|
SharedPreferences publicPrefs = getPublicPrefs(context);
|
|
|
|
|
if (publicPrefs != null) {
|
|
|
|
|
Editor edit = publicPrefs.edit();
|
|
|
|
|
@ -97,6 +99,8 @@ public class AstridPreferences {
|
|
|
|
|
Preferences.setInt(P_SUBTASKS_HELP, 1);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
Preferences.setBoolean(dragDropTestInitialized, true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if ("white-blue".equals(Preferences.getStringValue(R.string.p_theme))) { //$NON-NLS-1$ migrate from when white-blue wasn't the default
|
|
|
|
|
Preferences.setString(R.string.p_theme, ThemeService.THEME_WHITE);
|
|
|
|
|
@ -152,6 +156,8 @@ public class AstridPreferences {
|
|
|
|
|
|
|
|
|
|
Preferences.setIfUnset(prefs, editor, r, R.string.p_show_list_members, false);
|
|
|
|
|
|
|
|
|
|
String dragDropTestInitialized = "android_drag_drop_initialized"; //$NON-NLS-1$
|
|
|
|
|
if (!Preferences.getBoolean(dragDropTestInitialized, false)) {
|
|
|
|
|
SharedPreferences publicPrefs = getPublicPrefs(context);
|
|
|
|
|
if (publicPrefs != null) {
|
|
|
|
|
Editor edit = publicPrefs.edit();
|
|
|
|
|
@ -162,6 +168,8 @@ public class AstridPreferences {
|
|
|
|
|
Preferences.setInt(P_SUBTASKS_HELP, 1);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
Preferences.setBoolean(dragDropTestInitialized, true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
BeastModePreferences.setDefaultLiteModeOrder(context);
|
|
|
|
|
|
|
|
|
|
|