From 472ba92fe65d2c7491c6d62978a1886424e90839 Mon Sep 17 00:00:00 2001 From: Jay Date: Tue, 14 Apr 2020 15:38:17 -0400 Subject: [PATCH] Downloaded button arrow is back to always white --- .../java/eu/kanade/tachiyomi/ui/download/DownloadButton.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/download/DownloadButton.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/download/DownloadButton.kt index eda22a6105..a5878f7c9d 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/download/DownloadButton.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/download/DownloadButton.kt @@ -21,7 +21,6 @@ class DownloadButton @JvmOverloads constructor(context: Context, attrs: Attribut R.color.divider) private val disabledColor = ContextCompat.getColor(context, R.color.material_on_surface_disabled) - private val primaryColor = context.getResourceColor(android.R.attr.textColorPrimaryInverse) private val downloadedColor = ContextCompat.getColor(context, R.color.download) private val errorColor = ContextCompat.getColor(context, @@ -95,7 +94,7 @@ class DownloadButton @JvmOverloads constructor(context: Context, attrs: Attribut download_progress_indeterminate.gone() download_border.setImageDrawable(filledCircle) download_border.drawable.setTint(downloadedColor) - download_icon.drawable.setTint(primaryColor) + download_icon.drawable.setTint(Color.WHITE) } Download.ERROR -> { download_progress.gone()