|
|
|
@ -20,8 +20,6 @@ import com.todoroo.astrid.core.PluginServices;
|
|
|
|
|
import com.todoroo.astrid.data.Task;
|
|
|
|
|
import com.todoroo.astrid.data.User;
|
|
|
|
|
import com.todoroo.astrid.service.ThemeService;
|
|
|
|
|
import com.todoroo.astrid.service.abtesting.ABChooser;
|
|
|
|
|
import com.todoroo.astrid.service.abtesting.ABTests;
|
|
|
|
|
|
|
|
|
|
public class AstridPreferences {
|
|
|
|
|
|
|
|
|
@ -64,8 +62,7 @@ public class AstridPreferences {
|
|
|
|
|
|
|
|
|
|
Preferences.setIfUnset(prefs, editor, r, R.string.p_third_party_addons, false);
|
|
|
|
|
Preferences.setIfUnset(prefs, editor, r, R.string.p_ideas_tab_enabled, true);
|
|
|
|
|
Preferences.setIfUnset(prefs, editor, r, R.string.p_end_at_deadline,
|
|
|
|
|
ABChooser.readChoiceForTest(ABTests.AB_TEST_CAL_KEY) != 0);
|
|
|
|
|
Preferences.setIfUnset(prefs, editor, r, R.string.p_end_at_deadline, 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);
|
|
|
|
|