From df0415748feb93e059f9c92c3cfe26eaa02ff231 Mon Sep 17 00:00:00 2001 From: ericdecanini Date: Fri, 20 May 2022 11:44:16 +0200 Subject: [PATCH] Fixes drawer being accessible from swiping --- .../main/java/im/vector/app/features/home/HomeActivity.kt | 2 +- vector/src/main/res/layout/activity_home.xml | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/vector/src/main/java/im/vector/app/features/home/HomeActivity.kt b/vector/src/main/java/im/vector/app/features/home/HomeActivity.kt index e7b46d5db3..039446abab 100644 --- a/vector/src/main/java/im/vector/app/features/home/HomeActivity.kt +++ b/vector/src/main/java/im/vector/app/features/home/HomeActivity.kt @@ -191,7 +191,7 @@ class HomeActivity : views.drawerLayout.addDrawerListener(drawerListener) if (isFirstCreation()) { replaceFragment(views.homeDetailFragmentContainer, HomeDetailFragment::class.java) - replaceFragment(views.homeDrawerFragmentContainer, HomeDrawerFragment::class.java) +// replaceFragment(views.homeDrawerFragmentContainer, HomeDrawerFragment::class.java) } sharedActionViewModel diff --git a/vector/src/main/res/layout/activity_home.xml b/vector/src/main/res/layout/activity_home.xml index 9899c15aa6..a8fcd05d41 100644 --- a/vector/src/main/res/layout/activity_home.xml +++ b/vector/src/main/res/layout/activity_home.xml @@ -22,10 +22,4 @@ - - - \ No newline at end of file +