People in simple edit ab test shouldn't see ideas tab either

pull/14/head
Sam Bosley 14 years ago
parent d03c9073be
commit ac96bbcbe2

@ -331,7 +331,7 @@ public class EditNoteActivity extends LinearLayout implements TimerActionListene
LayoutParams.WRAP_CONTENT)); LayoutParams.WRAP_CONTENT));
noUpdates.setPadding(10, 10, 10, 10); noUpdates.setPadding(10, 10, 10, 10);
noUpdates.setGravity(Gravity.CENTER); noUpdates.setGravity(Gravity.CENTER);
noUpdates.setTextSize(20); noUpdates.setTextSize(16);
this.addView(noUpdates); this.addView(noUpdates);
} }

@ -462,7 +462,7 @@
<string name="TEA_more">More</string> <string name="TEA_more">More</string>
<!-- slide 15c: Text when no activity to show --> <!-- slide 15c: Text when no activity to show -->
<string name="TEA_no_activity">No Activity to Show.</string> <string name="TEA_no_activity">No activity</string>
<!-- Text to load more activity --> <!-- Text to load more activity -->
<string name="TEA_load_more">Load more...</string> <string name="TEA_load_more">Load more...</string>

@ -64,7 +64,6 @@ public class AstridPreferences {
Preferences.setIfUnset(prefs, editor, r, R.string.p_field_missed_calls, true); Preferences.setIfUnset(prefs, editor, r, R.string.p_field_missed_calls, true);
Preferences.setIfUnset(prefs, editor, r, R.string.p_third_party_addons, false); 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, true); Preferences.setIfUnset(prefs, editor, r, R.string.p_end_at_deadline, true);
Preferences.setIfUnset(prefs, editor, r, R.string.p_rmd_persistent, Preferences.setIfUnset(prefs, editor, r, R.string.p_rmd_persistent,
@ -75,6 +74,7 @@ public class AstridPreferences {
Preferences.setString(BeastModePreferences.BEAST_MODE_ORDER_PREF, Preferences.setString(BeastModePreferences.BEAST_MODE_ORDER_PREF,
BeastModePreferences.getSimpleEditOrderForABTest(context)); BeastModePreferences.getSimpleEditOrderForABTest(context));
} }
Preferences.setIfUnset(prefs, editor, r, R.string.p_ideas_tab_enabled, !simpleEdit);
if ("white-blue".equals(Preferences.getStringValue(R.string.p_theme))) { //$NON-NLS-1$ migrate from when white-blue wasn't the default 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); Preferences.setString(R.string.p_theme, ThemeService.THEME_WHITE);

Loading…
Cancel
Save