More themes cleanup (#5410), remove AMOLED Blue

* More themes cleanup

* Tweak some things

* Fix 'Clear History' icon

* Split out ripple colored to its own drawable

* Tidy up things

* Unify background dim amount

* Use primaryColor for Account login button

* More colored ripples

* use colorOnPrimary for selected comfortable library item title

Co-authored-by: Soitora <simon.mattila@protonmail.com>
(cherry picked from commit 932c92412c)

# Conflicts:
#	app/src/main/res/layout-sw720dp/manga_info_header.xml
#	app/src/main/res/layout/manga_info_header.xml
#	app/src/main/res/layout/reader_activity.xml
#	app/src/main/res/menu/library_selection.xml
#	app/src/main/res/menu/reader.xml
#	app/src/main/res/values/colors.xml
#	app/src/main/res/values/dimens.xml
This commit is contained in:
Ivan Iskandar
2021-06-20 02:45:16 +07:00
committed by Jobobby04
parent 6283754ce5
commit f61bbfa77a
144 changed files with 670 additions and 1030 deletions
+8
View File
@@ -286,6 +286,14 @@ object EXHMigrations {
LibraryUpdateJob.setupTask(context, 3)
}
}
if (oldVersion under 20) {
val prefs = PreferenceManager.getDefaultSharedPreferences(context)
if (prefs.getString(PreferenceKeys.themeDark, null) == "amoledblue") {
prefs.edit {
putString(PreferenceKeys.themeDark, "amoled")
}
}
}
// if (oldVersion under 1) { } (1 is current release version)
// do stuff here when releasing changed crap