Make FocusRoomSearch a NavigationAction

This commit is contained in:
Clemens Zeidler 2021-03-12 19:40:28 +13:00
parent 2a21d45ac0
commit a8a8741c06
3 changed files with 17 additions and 17 deletions

View file

@ -78,8 +78,6 @@ export enum RoomListAction {
/** Actions for the current room view */
export enum RoomAction {
/** Jump to room search (search for a room)*/
FocusRoomSearch = 'FocusRoomSearch', // TODO: move to NavigationAction?
/** Scroll up in the timeline */
ScrollUp = 'ScrollUp',
/** Scroll down in the timeline */
@ -100,6 +98,8 @@ export enum RoomAction {
/** Actions for navigating do various menus / dialogs / screens */
export enum NavigationAction {
/** Jump to room search (search for a room)*/
FocusRoomSearch = 'FocusRoomSearch',
/** Toggle the room side panel */
ToggleRoomSidePanel = 'ToggleRoomSidePanel',
/** Toggle the user menu */