From 280e854e36dfb7ef820f5bf7b93ee7a4801515c7 Mon Sep 17 00:00:00 2001 From: Tibor Kaputa Date: Wed, 15 Jun 2022 17:38:56 +0200 Subject: [PATCH] color the icons in a consistent way with other icons --- .../com/simplemobiletools/dialer/activities/CallActivity.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/dialer/activities/CallActivity.kt b/app/src/main/kotlin/com/simplemobiletools/dialer/activities/CallActivity.kt index f568cb4b..d7c9585b 100644 --- a/app/src/main/kotlin/com/simplemobiletools/dialer/activities/CallActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/dialer/activities/CallActivity.kt @@ -238,8 +238,8 @@ class CallActivity : SimpleActivity() { startArrowAnimation(call_right_arrow, initialRightArrowX, initialRightArrowScaleX, initialRightArrowScaleY, rightArrowTranslation) } - call_draggable.drawable.mutate().setTint(getProperTextColor()) - call_draggable_background.drawable.mutate().setTint(getProperTextColor()) + call_draggable.applyColorFilter(getProperTextColor()) + call_draggable_background.drawable.applyColorFilter(getProperTextColor()) var lock = false call_draggable.setOnTouchListener { v, event -> @@ -258,7 +258,7 @@ class CallActivity : SimpleActivity() { call_draggable_background.animate().alpha(0.2f) } call_draggable.setImageDrawable(getDrawable(R.drawable.ic_phone_down_vector)) - call_draggable.drawable.mutate().setTint(getProperTextColor()) + call_draggable.drawable.applyColorFilter(getProperTextColor()) call_left_arrow.animate().alpha(1f) call_right_arrow.animate().alpha(1f) stopAnimation = false