Fixes crash when going into spaces

This commit is contained in:
ericdecanini 2022-05-20 13:25:27 +02:00
parent a961ed7de7
commit f54da187ca
2 changed files with 2 additions and 2 deletions

View File

@ -244,7 +244,7 @@ class HomeActivity :
} }
private fun openGroup(shouldClearFragment: Boolean) { private fun openGroup(shouldClearFragment: Boolean) {
views.drawerLayout.closeDrawer(GravityCompat.START) // views.drawerLayout.closeDrawer(GravityCompat.START)
// When switching from space to group or group to space, we need to reload the fragment // When switching from space to group or group to space, we need to reload the fragment
if (shouldClearFragment) { if (shouldClearFragment) {

View File

@ -6,4 +6,4 @@
android:icon="@drawable/ic_material_done" android:icon="@drawable/ic_material_done"
android:title="@string/action_mark_all_as_read" /> android:title="@string/action_mark_all_as_read" />
</menu> </menu>