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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -203,7 +203,7 @@
android:padding="@dimen/screen_edge_margin"
android:rotation="90"
app:srcCompat="@drawable/ic_skip_previous_24dp"
app:tint="?attr/colorOnPrimary" />
app:tint="?attr/colorOnToolbar" />
<LinearLayout
android:id="@+id/reader_seekbar_vert"