For #1719: tracking protection icon in quick settings is almost invisible
parent
85245d7b40
commit
8ae567244b
|
@ -108,8 +108,6 @@ class QuickSettingsUIView(
|
|||
context
|
||||
) else DefaultThemeManager.resolveAttribute(R.attr.neutral, context)
|
||||
val icon = AppCompatResources.getDrawable(context, drawableId)
|
||||
val resolvedColor = ContextCompat.getColor(context, drawableTint)
|
||||
icon?.setTint(resolvedColor)
|
||||
trackingProtectionSwitch.setCompoundDrawablesWithIntrinsicBounds(icon, null, null, null)
|
||||
trackingProtectionSwitch.isChecked = isTrackingProtectionOn
|
||||
|
||||
|
|
Loading…
Reference in New Issue