parent
ad98b2f3ea
commit
9ee8c00928
|
@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- Remove forced focus of toolbar on homescreen
|
||||
- #4529 - Fixed an issue where the app would sometimes return to a blank toolbar
|
||||
- #4427 - Fixed an issue where the app would sometimes return to the home fragment
|
||||
- #4774 - Fixed how the tracking protection and HTTP icon appear in quick settings on Android 5 and 6.
|
||||
|
||||
### Removed
|
||||
|
||||
|
|
|
@ -111,7 +111,7 @@ class QuickSettingsUIView(
|
|||
drawableTint = R.color.photonGreen50
|
||||
} else {
|
||||
stringId = R.string.quick_settings_sheet_insecure_connection
|
||||
drawableId = R.drawable.mozac_ic_globe
|
||||
drawableId = R.drawable.mozac_ic_broken_lock
|
||||
drawableTint = R.color.photonRed50
|
||||
}
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@ import android.view.View
|
|||
import android.widget.CompoundButton
|
||||
import android.widget.Switch
|
||||
import android.widget.TextView
|
||||
import androidx.appcompat.content.res.AppCompatResources
|
||||
import androidx.core.view.isVisible
|
||||
import io.reactivex.Observer
|
||||
import mozilla.components.support.ktx.android.view.putCompoundDrawablesRelativeWithIntrinsicBounds
|
||||
|
@ -23,7 +24,7 @@ class TrackingProtectionSettingView(
|
|||
|
||||
init {
|
||||
trackingProtectionSwitch.putCompoundDrawablesRelativeWithIntrinsicBounds(
|
||||
start = container.context.getDrawable(R.drawable.ic_tracking_protection)
|
||||
start = AppCompatResources.getDrawable(container.context, R.drawable.ic_tracking_protection)
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue