2
0
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:
Arturo Mejia 2021-01-13 11:56:20 -05:00
parent 2614789acf
commit f42b3c2e14
3 changed files with 5 additions and 6 deletions

View File

@ -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()

View File

@ -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)

View File

@ -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 =