enhance(frontend): migrate overridedDeviceKind to preference
This commit is contained in:
@@ -8,6 +8,7 @@ import { hemisphere } from '@@/js/intl-const.js';
|
||||
import type { Theme } from '@/theme.js';
|
||||
import type { SoundType } from '@/utility/sound.js';
|
||||
import type { Plugin } from '@/plugin.js';
|
||||
import type { DeviceKind } from '@/utility/device-kind.js';
|
||||
import { DEFAULT_DEVICE_KIND } from '@/utility/device-kind.js';
|
||||
|
||||
/** サウンド設定 */
|
||||
@@ -45,6 +46,9 @@ export const PREF_DEF = {
|
||||
}[],
|
||||
},
|
||||
|
||||
overridedDeviceKind: {
|
||||
default: null as DeviceKind | null,
|
||||
},
|
||||
themes: {
|
||||
default: [] as Theme[],
|
||||
},
|
||||
|
Reference in New Issue
Block a user