Fixes drawer being accessible from swiping
This commit is contained in:
parent
43d23e195f
commit
df0415748f
@ -191,7 +191,7 @@ class HomeActivity :
|
|||||||
views.drawerLayout.addDrawerListener(drawerListener)
|
views.drawerLayout.addDrawerListener(drawerListener)
|
||||||
if (isFirstCreation()) {
|
if (isFirstCreation()) {
|
||||||
replaceFragment(views.homeDetailFragmentContainer, HomeDetailFragment::class.java)
|
replaceFragment(views.homeDetailFragmentContainer, HomeDetailFragment::class.java)
|
||||||
replaceFragment(views.homeDrawerFragmentContainer, HomeDrawerFragment::class.java)
|
// replaceFragment(views.homeDrawerFragmentContainer, HomeDrawerFragment::class.java)
|
||||||
}
|
}
|
||||||
|
|
||||||
sharedActionViewModel
|
sharedActionViewModel
|
||||||
|
@ -22,10 +22,4 @@
|
|||||||
|
|
||||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||||
|
|
||||||
<androidx.fragment.app.FragmentContainerView
|
|
||||||
android:id="@+id/homeDrawerFragmentContainer"
|
|
||||||
android:layout_width="@dimen/navigation_drawer_max_width"
|
|
||||||
android:layout_height="match_parent"
|
|
||||||
android:layout_gravity="start" />
|
|
||||||
|
|
||||||
</androidx.drawerlayout.widget.DrawerLayout>
|
</androidx.drawerlayout.widget.DrawerLayout>
|
Loading…
Reference in New Issue
Block a user