mirror of
https://github.com/SimpleMobileTools/Simple-Dialer.git
synced 2025-06-05 21:49:23 +02:00
Use grey-ish color tone for inactive state
This commit is contained in:
@ -721,7 +721,7 @@ class CallActivity : SimpleActivity() {
|
||||
|
||||
private fun getActiveButtonColor() = getProperPrimaryColor()
|
||||
|
||||
private fun getInactiveButtonColor() = getActiveButtonColor().adjustAlpha(0.2f)
|
||||
private fun getInactiveButtonColor() = getProperTextColor().adjustAlpha(0.10f)
|
||||
|
||||
private fun toggleButtonColor(view: ImageView, enabled: Boolean) {
|
||||
if (enabled) {
|
||||
|
Reference in New Issue
Block a user