From abe3f2b1a43708c45476945565ad91380abf91f3 Mon Sep 17 00:00:00 2001 From: GKF Date: Mon, 10 Jun 2019 16:47:18 +0800 Subject: [PATCH] up --- .../java/io/legado/app/ui/config/ThemeConfigFragment.kt | 8 ++++---- app/src/main/res/values/colors.xml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/config/ThemeConfigFragment.kt b/app/src/main/java/io/legado/app/ui/config/ThemeConfigFragment.kt index 6f4030cf0..62d20203a 100644 --- a/app/src/main/java/io/legado/app/ui/config/ThemeConfigFragment.kt +++ b/app/src/main/java/io/legado/app/ui/config/ThemeConfigFragment.kt @@ -93,11 +93,11 @@ class ThemeConfigFragment : PreferenceFragmentCompat(), SharedPreferences.OnShar .setMessage("是否确认恢复?") .setPositiveButton(R.string.ok) { _, _ -> preferenceManager.sharedPreferences.edit() - .putInt("colorPrimary", App.INSTANCE.getCompatColor(R.color.md_grey_100)) - .putInt("colorAccent", App.INSTANCE.getCompatColor(R.color.md_pink_600)) + .putInt("colorPrimary", App.INSTANCE.getCompatColor(R.color.colorPrimary)) + .putInt("colorAccent", App.INSTANCE.getCompatColor(R.color.colorAccent)) .putInt("colorBackground", App.INSTANCE.getCompatColor(R.color.md_grey_100)) - .putInt("colorPrimaryNight", App.INSTANCE.getCompatColor(R.color.md_grey_800)) - .putInt("colorAccentNight", App.INSTANCE.getCompatColor(R.color.md_pink_800)) + .putInt("colorPrimaryNight", App.INSTANCE.getCompatColor(R.color.colorPrimary)) + .putInt("colorAccentNight", App.INSTANCE.getCompatColor(R.color.colorAccent)) .putInt("colorBackgroundNight", App.INSTANCE.getCompatColor(R.color.md_grey_800)) .apply() App.INSTANCE.upThemeStore() diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 27e97eb27..1098650d7 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -1,7 +1,7 @@ - @color/md_teal_800 - @color/md_teal_900 + @color/md_light_blue_500 + @color/md_light_blue_600 @color/md_pink_A400 #222222 #66666666