fix bug caused by new default theme
This commit is contained in:
parent
7cd1d630f9
commit
eae22a4771
@ -53,7 +53,7 @@
|
||||
android:key="category_look_and_feel"
|
||||
android:title="@string/look_and_feel" >
|
||||
<ListPreference
|
||||
android:defaultValue="THEME_DARK"
|
||||
android:defaultValue="THEME_LIGHT"
|
||||
android:entries="@array/pref_theme_names"
|
||||
android:entryValues="@array/pref_theme_values"
|
||||
android:key="theme"
|
||||
|
@ -125,7 +125,7 @@ public class CommonActivity extends ActionBarActivity {
|
||||
if (savedInstanceState != null) {
|
||||
m_theme = savedInstanceState.getString("theme");
|
||||
} else {
|
||||
m_theme = m_prefs.getString("theme", "THEME_DARK");
|
||||
m_theme = m_prefs.getString("theme", CommonActivity.THEME_DEFAULT);
|
||||
}
|
||||
|
||||
initDatabase();
|
||||
|
Loading…
Reference in New Issue
Block a user