feat(frontend): 通知の表示をカスタマイズできるように

This commit is contained in:
syuilo
2023-04-17 13:12:58 +09:00
parent cc27c1486d
commit 614f12386e
5 changed files with 129 additions and 29 deletions

View File

@@ -314,6 +314,14 @@ export const defaultStore = markRaw(new Storage('base', {
where: 'device',
default: 'expand' as 'expand' | '16_9' | '1_1' | '2_3',
},
notificationPosition: {
where: 'device',
default: 'rightBottom' as 'leftTop' | 'leftBottom' | 'rightTop' | 'rightBottom',
},
notificationStackAxis: {
where: 'device',
default: 'horizontal' as 'vertical' | 'horizontal',
},
}));
// TODO: 他のタブと永続化されたstateを同期