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

@ -81,10 +81,6 @@ export const store = markRaw(new Storage('base', {
},
},
},
overridedDeviceKind: {
where: 'device',
default: null as DeviceKind | null,
},
darkMode: {
where: 'device',
default: false,
@ -153,6 +149,10 @@ export const store = markRaw(new Storage('base', {
data: Record<string, any>;
}[],
},
overridedDeviceKind: {
where: 'device',
default: null as DeviceKind | null,
},
defaultSideView: {
where: 'device',
default: false,