Fixed a bug where before a theme was selected, it would say the red one was the default

pull/14/head
Sam Bosley 13 years ago
parent 7f7bac4967
commit b85cb2977d

@ -296,7 +296,7 @@ public class EditPreferences extends TodorooPreferenceActivity {
preference.setEnabled(false);
preference.setSummary(R.string.EPr_theme_desc_unsupported);
} else {
int index = 0;
int index = 1;
if(value != null)
index = AndroidUtilities.indexOf(r.getStringArray(R.array.EPr_theme_settings), (String)value);
preference.setSummary(getString(R.string.EPr_theme_desc,

Loading…
Cancel
Save