mirror of
https://github.com/nolanlawson/pinafore
synced 2024-12-12 18:28:03 +01:00
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})
|
|
}
|