diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2022-02-08 18:46:39 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2022-02-08 18:46:39 +0900 |
| commit | 190b47aad28c2d6e740953ffd7f987225c67f0a3 (patch) | |
| tree | bda0ce27a77dcabf991317f07faf654c6509ec7a /packages/client/src/store.ts | |
| parent | Update CHANGELOG.md (diff) | |
| download | misskey-190b47aad28c2d6e740953ffd7f987225c67f0a3.tar.gz misskey-190b47aad28c2d6e740953ffd7f987225c67f0a3.tar.bz2 misskey-190b47aad28c2d6e740953ffd7f987225c67f0a3.zip | |
feat(client): デバイスの種類を手動指定できるように
Diffstat (limited to 'packages/client/src/store.ts')
| -rw-r--r-- | packages/client/src/store.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/client/src/store.ts b/packages/client/src/store.ts index b80fc8bbe3..0e71060cda 100644 --- a/packages/client/src/store.ts +++ b/packages/client/src/store.ts @@ -106,6 +106,10 @@ export const defaultStore = markRaw(new Storage('base', { } }, + overridedDeviceKind: { + where: 'device', + default: null as null | 'smartphone' | 'tablet' | 'desktop', + }, serverDisconnectedBehavior: { where: 'device', default: 'quiet' as 'quiet' | 'reload' | 'dialog' |