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:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user