forked from cybrespace/pinafore
7 lines
221 B
JavaScript
7 lines
221 B
JavaScript
|
import { store } from '../_store/store'
|
||
|
|
||
|
export function toggleContentWarningShown (realm) {
|
||
|
let shown = store.getComposeData(realm, 'contentWarningShown')
|
||
|
store.setComposeData(realm, {contentWarningShown: !shown})
|
||
|
}
|