diff --git a/CHANGELOG.md b/CHANGELOG.md index 0bc689189..b74249cbf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - #4704 - Adds ability to show a different alpha when no elements available to be deleted for a delete browsing data item - #4137 - Adds pagination to the history view - #3695 - Made search suggestions for other tabs clickable +- Custom tabs change the status bar color to match the toolbar color ### Changed - Remove forced focus of toolbar on homescreen diff --git a/app/src/main/java/org/mozilla/fenix/customtabs/CustomTabsIntegration.kt b/app/src/main/java/org/mozilla/fenix/customtabs/CustomTabsIntegration.kt index b87f3d2d6..a9c77ddc4 100644 --- a/app/src/main/java/org/mozilla/fenix/customtabs/CustomTabsIntegration.kt +++ b/app/src/main/java/org/mozilla/fenix/customtabs/CustomTabsIntegration.kt @@ -65,9 +65,11 @@ class CustomTabsIntegration( sessionManager, toolbar, sessionId, - customTabToolbarMenu.menuBuilder, - START_OF_MENU_ITEMS_INDEX, - closeListener = { activity?.finish() }) + menuBuilder = customTabToolbarMenu.menuBuilder, + menuItemIndex = START_OF_MENU_ITEMS_INDEX, + window = activity?.window, + closeListener = { activity?.finish() } + ) override fun start() { feature.start()