enhance(frontend): migrate overridedDeviceKind to preference

This commit is contained in:
syuilo
2025-03-09 17:14:48 +09:00
parent 27e8805dcb
commit c9c04d8391
6 changed files with 12 additions and 7 deletions

View File

@@ -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[],
},