[fenix] For https://github.com/mozilla-mobile/fenix/issues/1719: tracking protection icon in quick settings is almost invisible

pull/600/head
Sören Hentzschel 5 years ago committed by Colin Lee
parent 4d77b0bd08
commit 962a25e1ad

@ -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…
Cancel
Save