mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 04:08:44 +03:00
Simplified mode: do not open room directory on create group (again)
Change-Id: I221830738610c25c20e859c8599fee440fd9f4ff
This commit is contained in:
parent
1590740981
commit
ccea243aff
1 changed files with 6 additions and 1 deletions
|
@ -265,7 +265,12 @@ class RoomListFragment @Inject constructor(
|
|||
}
|
||||
|
||||
override fun fabOpenRoomDirectory() {
|
||||
navigator.openRoomDirectory(requireActivity(), "")
|
||||
if (vectorPreferences.simplifiedMode()) {
|
||||
// Simplified mode: don't browse room directories, just create a room
|
||||
navigator.openCreateRoom(requireActivity())
|
||||
} else {
|
||||
navigator.openRoomDirectory(requireActivity(), "")
|
||||
}
|
||||
}
|
||||
|
||||
private fun setupRecyclerView() {
|
||||
|
|
Loading…
Add table
Reference in a new issue