fix toolbar btn color (#395)

* fix prev btn color in vert seekbar

* fix migration button color

use colorOnToolbar instead of colorOnPrimary
This commit is contained in:
Riztard Lanthorn
2021-08-17 10:01:41 +07:00
committed by GitHub
parent 6213d3e7a9
commit c613784fc4
2 changed files with 2 additions and 2 deletions
@@ -464,7 +464,7 @@ class MigrationListController(bundle: Bundle? = null) :
menuCopy.icon.mutate()
menuMigrate.icon.mutate()
val tintColor = activity?.getResourceColor(R.attr.colorOnPrimary) ?: Color.WHITE
val tintColor = activity?.getResourceColor(R.attr.colorOnToolbar) ?: Color.WHITE
val translucentWhite = ColorUtils.setAlphaComponent(tintColor, 127)
menuCopy.icon?.setTint(if (allMangasDone) tintColor else translucentWhite)
menuMigrate?.icon?.setTint(if (allMangasDone) tintColor else translucentWhite)