1
0
Fork 0

Color the system bars in custom tabs (#4819)

master
Tiger Oakes 2019-08-20 13:13:01 -04:00 committed by Jeff Boek
parent 95ef312b1e
commit 090e8006b0
2 changed files with 6 additions and 3 deletions

View File

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

View File

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