mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-05 21:20:45 +00:00
parent
f4f93e761e
commit
2ead67a531
@ -72,7 +72,13 @@ class CustomTabsIntegration(
|
||||
// See #5334
|
||||
if (isPrivate) {
|
||||
sessionManager.findSessionById(sessionId)?.apply {
|
||||
customTabConfig = customTabConfig?.copy(toolbarColor = null)
|
||||
val config = customTabConfig
|
||||
customTabConfig = config?.copy(
|
||||
// Don't set toolbar background automatically
|
||||
toolbarColor = null,
|
||||
// Force tinting the action button
|
||||
actionButtonConfig = config.actionButtonConfig?.copy(tint = true)
|
||||
)
|
||||
}
|
||||
|
||||
toolbar.background = AppCompatResources.getDrawable(
|
||||
|
Loading…
Reference in New Issue
Block a user