Commit e1653f62 authored by Kainalu Hagiwara's avatar Kainalu Hagiwara Committed by Jeff Boek
Browse files

For #13127 - Make sure tabPreview is added after browserLayout.

parent f14b6d03
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -167,9 +167,7 @@ abstract class BaseBrowserFragment : Fragment(), UserInteractionHandler, Session
        customTabSessionId = arguments?.getString(EXTRA_SESSION_ID)

        val view = if (FeatureFlags.browserChromeGestures) {
            inflater.inflate(R.layout.browser_gesture_wrapper, container, false).apply {
                inflater.inflate(R.layout.fragment_browser, this as SwipeGestureLayout, true)
            }
            inflater.inflate(R.layout.browser_gesture_wrapper, container, false)
        } else {
            inflater.inflate(R.layout.fragment_browser, container, false)
        }
+2 −0
Original line number Diff line number Diff line
@@ -7,6 +7,8 @@
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <include layout="@layout/fragment_browser" />

    <org.mozilla.fenix.browser.TabPreview
        android:id="@+id/tabPreview"
        android:layout_width="match_parent"