Added option to fav spaces (#52)

This commit is contained in:
unknown
2021-09-05 18:56:34 +05:30
parent 2e58757bc9
commit cdf421f0f1
17 changed files with 269 additions and 112 deletions

View File

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