diff options
| -rw-r--r-- | src/com/aicp/extras/BaseActivity.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/com/aicp/extras/BaseActivity.java b/src/com/aicp/extras/BaseActivity.java index 4f8985493..410d6d6b4 100644 --- a/src/com/aicp/extras/BaseActivity.java +++ b/src/com/aicp/extras/BaseActivity.java @@ -48,15 +48,15 @@ public abstract class BaseActivity extends FragmentActivity { } protected int getThemeRes() { - int themePref = 6;//Settings.System.getInt(getContentResolver(), Settings.System.AE_THEME, 0); - switch (themePref) { - case 6: - return R.style.AppTheme_MoreAccent; - case 8: - return R.style.AppTheme_LessAccent; - default: - return R.style.AppTheme; - } + int themePref = Settings.System.getInt(getContentResolver(), Settings.System.AE_THEME, 0); + switch (themePref) { + case 6: + return R.style.AppTheme_MoreAccent; + case 8: + return R.style.AppTheme_LessAccent; + default: + return R.style.AppTheme; + } } } |
