diff options
author | Andrew Dolgov <[email protected]> | 2014-10-15 21:08:49 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2014-10-15 21:09:08 +0400 |
commit | eae22a4771070ee5a79b1dd0976eb2a211f0dad0 (patch) | |
tree | b7d3538456a4553a0e9690ed2311efc61cd9ecd0 | |
parent | 7cd1d630f9cf0392b4d763224bef3ce6ab42ae56 (diff) |
fix bug caused by new default theme
-rw-r--r-- | res/xml/preferences.xml | 2 | ||||
-rw-r--r-- | src/org/fox/ttrss/CommonActivity.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml index 370f77a0..69942c86 100644 --- a/res/xml/preferences.xml +++ b/res/xml/preferences.xml @@ -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"
diff --git a/src/org/fox/ttrss/CommonActivity.java b/src/org/fox/ttrss/CommonActivity.java index 47adbb1c..bfe70708 100644 --- a/src/org/fox/ttrss/CommonActivity.java +++ b/src/org/fox/ttrss/CommonActivity.java @@ -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(); |