refectored navigation

This commit is contained in:
unknown 2021-08-30 08:31:13 +05:30
parent d3506acd94
commit 2848417cf5
4 changed files with 40 additions and 49 deletions

View file

@ -1,7 +1,7 @@
import appDispatcher from '../dispatcher';
import cons from '../state/cons';
function handleTabChange(tabId) {
function changeTab(tabId) {
appDispatcher.dispatch({
type: cons.actions.navigation.CHANGE_TAB,
tabId,
@ -71,7 +71,7 @@ function openReadReceipts(roomId, eventId) {
}
export {
handleTabChange,
changeTab,
selectRoom,
togglePeopleDrawer,
openInviteList,