change(room directory) : move the the room directory entry from room list filter to start chat screen.

This commit is contained in:
ganfra
2025-03-03 16:25:15 +01:00
parent 9ff00b532d
commit 95ecbb7225
24 changed files with 91 additions and 158 deletions

View File

@@ -262,10 +262,6 @@ class LoggedInFlowNode @AssistedInject constructor(
plugins<Callback>().forEach { it.onOpenBugReport() }
}
override fun onRoomDirectorySearchClick() {
backstack.push(NavTarget.RoomDirectorySearch)
}
override fun onLogoutForNativeSlidingSyncMigrationNeeded() {
backstack.push(NavTarget.LogoutForNativeSlidingSyncMigrationNeeded)
}
@@ -360,6 +356,10 @@ class LoggedInFlowNode @AssistedInject constructor(
override fun onOpenRoom(roomIdOrAlias: RoomIdOrAlias, serverNames: List<String>) {
backstack.replace(NavTarget.Room(roomIdOrAlias = roomIdOrAlias, serverNames = serverNames))
}
override fun onOpenRoomDirectory() {
backstack.push(NavTarget.RoomDirectorySearch)
}
}
createRoomEntryPoint