clean up
This commit is contained in:
		
							parent
							
								
									3a990dce75
								
							
						
					
					
						commit
						2e80f9dfba
					
				
					 4 changed files with 0 additions and 15 deletions
				
			
		|  | @ -106,11 +106,6 @@ export default defineComponent({ | |||
| 				return; | ||||
| 			} | ||||
| 
 | ||||
| 			if (this.to.startsWith('/my/messaging')) { | ||||
| 				if (ColdDeviceStorage.get('chatOpenBehavior') === 'window') return this.window(); | ||||
| 				if (ColdDeviceStorage.get('chatOpenBehavior') === 'popout') return this.popout(); | ||||
| 			} | ||||
| 
 | ||||
| 			if (this.behavior) { | ||||
| 				if (this.behavior === 'window') { | ||||
| 					return this.window(); | ||||
|  |  | |||
|  | @ -77,13 +77,6 @@ | |||
| 		<FormSwitch v-model="defaultSideView">{{ $ts.openInSideView }}</FormSwitch> | ||||
| 	</FormGroup> | ||||
| 
 | ||||
| 	<FormSelect v-model="chatOpenBehavior" class="_formBlock"> | ||||
| 		<template #label>{{ $ts.chatOpenBehavior }}</template> | ||||
| 		<option value="page">{{ $ts.showInPage }}</option> | ||||
| 		<option value="window">{{ $ts.openInWindow }}</option> | ||||
| 		<option value="popout">{{ $ts.popout }}</option> | ||||
| 	</FormSelect> | ||||
| 
 | ||||
| 	<FormLink to="/settings/deck" class="_formBlock">{{ $ts.deck }}</FormLink> | ||||
| 
 | ||||
| 	<FormLink to="/settings/custom-css" class="_formBlock"><template #icon><i class="fas fa-code"></i></template>{{ $ts.customCss }}</FormLink> | ||||
|  | @ -149,7 +142,6 @@ export default defineComponent({ | |||
| 		disablePagesScript: defaultStore.makeGetterSetter('disablePagesScript'), | ||||
| 		showFixedPostForm: defaultStore.makeGetterSetter('showFixedPostForm'), | ||||
| 		defaultSideView: defaultStore.makeGetterSetter('defaultSideView'), | ||||
| 		chatOpenBehavior: ColdDeviceStorage.makeGetterSetter('chatOpenBehavior'), | ||||
| 		instanceTicker: defaultStore.makeGetterSetter('instanceTicker'), | ||||
| 		enableInfiniteScroll: defaultStore.makeGetterSetter('enableInfiniteScroll'), | ||||
| 		useReactionPickerForContextMenu: defaultStore.makeGetterSetter('useReactionPickerForContextMenu'), | ||||
|  |  | |||
|  | @ -245,7 +245,6 @@ export class ColdDeviceStorage { | |||
| 		lightTheme: require('@/themes/l-light.json5') as Theme, | ||||
| 		darkTheme: require('@/themes/d-dark.json5') as Theme, | ||||
| 		syncDeviceDarkMode: true, | ||||
| 		chatOpenBehavior: 'page' as 'page' | 'window' | 'popout', | ||||
| 		plugins: [] as Plugin[], | ||||
| 		mediaVolume: 0.5, | ||||
| 		sound_masterVolume: 0.3, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue