diff --git a/F-Droid/build.gradle b/F-Droid/build.gradle index 4219e4c4a..fc10ca276 100644 --- a/F-Droid/build.gradle +++ b/F-Droid/build.gradle @@ -17,7 +17,7 @@ if ( !hasProperty( 'sourceDeps' ) ) { dependencies { compile 'com.android.support:support-v4:20.0.0', - 'com.android.support:appcompat-v7:20.0.0', + 'com.android.support:appcompat-v7:22.0.0', 'com.android.support:support-annotations:20.0.0', 'org.thoughtcrime.ssl.pinning:AndroidPinning:1.0.0', diff --git a/F-Droid/res/values-v11/styles.xml b/F-Droid/res/values-v11/styles.xml index 0d7bd9897..bcb6bc118 100644 --- a/F-Droid/res/values-v11/styles.xml +++ b/F-Droid/res/values-v11/styles.xml @@ -1,15 +1,6 @@ + - - - - - - - - + \ No newline at end of file diff --git a/F-Droid/res/values/array.xml b/F-Droid/res/values/array.xml index 3deb4a5d4..38e4465c7 100644 --- a/F-Droid/res/values/array.xml +++ b/F-Droid/res/values/array.xml @@ -13,6 +13,5 @@ Dark Light - Light (with dark action bar) diff --git a/F-Droid/res/values/donottranslate.xml b/F-Droid/res/values/donottranslate.xml index 359feb67c..e7743b0fe 100644 --- a/F-Droid/res/values/donottranslate.xml +++ b/F-Droid/res/values/donottranslate.xml @@ -26,7 +26,6 @@ dark light - lightWithDarkActionBar diff --git a/F-Droid/res/values/styles.xml b/F-Droid/res/values/styles.xml index a0522db1a..e74c6cc05 100644 --- a/F-Droid/res/values/styles.xml +++ b/F-Droid/res/values/styles.xml @@ -2,14 +2,24 @@ - - #FF000000 @@ -29,24 +39,20 @@ - - - - - - + \ No newline at end of file diff --git a/F-Droid/src/org/fdroid/fdroid/FDroidApp.java b/F-Droid/src/org/fdroid/fdroid/FDroidApp.java index bcdc9fd69..9fe5bfe69 100644 --- a/F-Droid/src/org/fdroid/fdroid/FDroidApp.java +++ b/F-Droid/src/org/fdroid/fdroid/FDroidApp.java @@ -87,12 +87,12 @@ public class FDroidApp extends Application { dark, light, lightWithDarkActionBar } - private static Theme curTheme = Theme.dark; + private static Theme curTheme = Theme.light; public void reloadTheme() { curTheme = Theme.valueOf(PreferenceManager .getDefaultSharedPreferences(getBaseContext()) - .getString(Preferences.PREF_THEME, "dark")); + .getString(Preferences.PREF_THEME, Preferences.DEFAULT_THEME)); } public void applyTheme(Activity activity) {