mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-15 03:30:29 +03:00
Add btn to hide membership events from timeline
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
parent
ecb7d5ef10
commit
90c6b18cbb
5 changed files with 84 additions and 8 deletions
|
|
@ -1,19 +1,26 @@
|
|||
import appDispatcher from '../dispatcher';
|
||||
import cons from '../state/cons';
|
||||
|
||||
function toggleMarkdown() {
|
||||
export function toggleMarkdown() {
|
||||
appDispatcher.dispatch({
|
||||
type: cons.actions.settings.TOGGLE_MARKDOWN,
|
||||
});
|
||||
}
|
||||
|
||||
function togglePeopleDrawer() {
|
||||
export function togglePeopleDrawer() {
|
||||
appDispatcher.dispatch({
|
||||
type: cons.actions.settings.TOGGLE_PEOPLE_DRAWER,
|
||||
});
|
||||
}
|
||||
|
||||
export {
|
||||
toggleMarkdown,
|
||||
togglePeopleDrawer,
|
||||
};
|
||||
export function toggleMembershipEvents() {
|
||||
appDispatcher.dispatch({
|
||||
type: cons.actions.settings.TOGGLE_MEMBERSHIP_EVENT,
|
||||
});
|
||||
}
|
||||
|
||||
export function toggleNickAvatarEvents() {
|
||||
appDispatcher.dispatch({
|
||||
type: cons.actions.settings.TOGGLE_NICKAVATAR_EVENT,
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue