プレビューの表示状態を記憶するように (#11346)

* feat: keep show showPreview

* docs(changelog): add プレビューの表示した状態ををダイアログを閉じても保存するように

* chore: 記憶する領域をdeviceに
This commit is contained in:
anatawa12
2023-08-21 18:52:20 +09:00
committed by GitHub
parent f664f941a2
commit 5758ea463a
3 changed files with 7 additions and 1 deletions

View File

@@ -135,6 +135,10 @@ export const defaultStore = markRaw(new Storage('base', {
where: 'deviceAccount',
default: false,
},
showPreview: {
where: 'device',
default: false,
},
statusbars: {
where: 'deviceAccount',
default: [] as {