mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-17 15:26:23 +00:00
[fenix] Add dot notification for autoplay blocked content
This commit is contained in:
parent
2614789acf
commit
f42b3c2e14
@ -368,10 +368,6 @@ abstract class BaseBrowserFragment : Fragment(), UserInteractionHandler,
|
|||||||
showQuickSettingsDialog()
|
showQuickSettingsDialog()
|
||||||
}
|
}
|
||||||
|
|
||||||
browserToolbarView.view.display.setOnPermissionIndicatorClickedListener {
|
|
||||||
showQuickSettingsDialog()
|
|
||||||
}
|
|
||||||
|
|
||||||
browserToolbarView.view.display.setOnTrackingProtectionClickedListener {
|
browserToolbarView.view.display.setOnTrackingProtectionClickedListener {
|
||||||
context.metrics.track(Event.TrackingProtectionIconPressed)
|
context.metrics.track(Event.TrackingProtectionIconPressed)
|
||||||
showTrackingProtectionPanel()
|
showTrackingProtectionPanel()
|
||||||
|
@ -152,7 +152,10 @@ class BrowserToolbarView(
|
|||||||
hint = secondaryTextColor,
|
hint = secondaryTextColor,
|
||||||
separator = separatorColor,
|
separator = separatorColor,
|
||||||
trackingProtection = primaryTextColor,
|
trackingProtection = primaryTextColor,
|
||||||
permissionHighlights = primaryTextColor
|
highlight = ContextCompat.getColor(
|
||||||
|
context,
|
||||||
|
R.color.whats_new_notification_color
|
||||||
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
display.hint = context.getString(R.string.search_hint)
|
display.hint = context.getString(R.string.search_hint)
|
||||||
|
@ -130,7 +130,7 @@ class DefaultToolbarIntegration(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (FeatureFlags.permissionIndicatorsToolbar) {
|
if (FeatureFlags.permissionIndicatorsToolbar) {
|
||||||
toolbar.display.indicators += DisplayToolbar.Indicators.PERMISSION_HIGHLIGHTS
|
toolbar.display.indicators += DisplayToolbar.Indicators.HIGHLIGHT
|
||||||
}
|
}
|
||||||
|
|
||||||
toolbar.display.displayIndicatorSeparator =
|
toolbar.display.displayIndicatorSeparator =
|
||||||
|
Loading…
Reference in New Issue
Block a user