pull/51/head
kunfei 5 years ago
parent dad5169d10
commit 58a075ba8e
  1. 12
      app/src/main/java/io/legado/app/App.kt

@ -81,9 +81,15 @@ class App : Application() {
.apply() .apply()
} else { } else {
ThemeStore.editTheme(this) ThemeStore.editTheme(this)
.primaryColor(getPrefInt("colorPrimary", getCompatColor(R.color.md_light_blue_500))) .primaryColor(
.accentColor(getPrefInt("colorAccent", getCompatColor(R.color.md_pink_800))) getPrefInt("colorPrimary", getCompatColor(R.color.md_light_blue_500))
.backgroundColor(getPrefInt("colorBackground", getCompatColor(R.color.md_grey_100))) )
.accentColor(
getPrefInt("colorAccent", getCompatColor(R.color.md_pink_800))
)
.backgroundColor(
getPrefInt("colorBackground", getCompatColor(R.color.md_grey_100))
)
.apply() .apply()
} }
ChapterProvider.upReadAloudSpan() ChapterProvider.upReadAloudSpan()

Loading…
Cancel
Save