Skip to content

Commit 14c17b6

Browse files
Mugurellplingurar@mozilla.com
authored andcommitted
Bug 1985514 - Restore having the home bottom toolbar on top of keyboard after cold starts r=android-reviewers,Roger
Investigations showed that insets listeners were not called in this scenario but using a View instead of the newly built ComposeView to listen for insets changes restores the behavior we had. Differential Revision: https://phabricator.services.mozilla.com/D262793
1 parent 772afbd commit 14c17b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mobile/android/fenix/app/src/main/java/org/mozilla/fenix/home/toolbar/HomeToolbarComposable.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ internal class HomeToolbarComposable(
162162
}
163163

164164
if (settings.shouldUseBottomToolbar) {
165-
ImeInsetsSynchronizer.setup(layout)
165+
ImeInsetsSynchronizer.setup(homeBinding.root)
166166
}
167167

168168
updateHomeAppBarIntegration()

0 commit comments

Comments
 (0)