parent
a40af5b134
commit
740572b6d9
|
@ -70,6 +70,10 @@ class CustomTabsIntegration(
|
||||||
// If in private mode, override toolbar background to use private color
|
// If in private mode, override toolbar background to use private color
|
||||||
// See #5334
|
// See #5334
|
||||||
if (isPrivate) {
|
if (isPrivate) {
|
||||||
|
sessionManager.findSessionById(sessionId)?.apply {
|
||||||
|
customTabConfig = customTabConfig?.copy(toolbarColor = null)
|
||||||
|
}
|
||||||
|
|
||||||
toolbar.background = AppCompatResources.getDrawable(
|
toolbar.background = AppCompatResources.getDrawable(
|
||||||
activity,
|
activity,
|
||||||
R.drawable.toolbar_background
|
R.drawable.toolbar_background
|
||||||
|
|
Loading…
Reference in New Issue