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