can disable pop up notifications

This commit is contained in:
fly_mc 2024-10-27 21:08:34 +08:00
parent 3d5038d67d
commit 86ab0f203d
2 changed files with 2 additions and 1 deletions

View file

@ -100,6 +100,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<option value="rightTop"><i class="ti ti-align-box-right-top"></i> {{ i18n.ts.rightTop }}</option>
<option value="leftBottom"><i class="ti ti-align-box-left-bottom"></i> {{ i18n.ts.leftBottom }}</option>
<option value="rightBottom"><i class="ti ti-align-box-right-bottom"></i> {{ i18n.ts.rightBottom }}</option>
<option value=""><i class="ti ti-close"></i> {{ i18n.ts.close }}</option>
</MkRadios>
<MkRadios v-model="notificationStackAxis">

View file

@ -392,7 +392,7 @@ export const defaultStore = markRaw(new Storage('base', {
},
notificationPosition: {
where: 'device',
default: 'rightBottom' as 'leftTop' | 'leftBottom' | 'rightTop' | 'rightBottom',
default: 'rightBottom' as 'leftTop' | 'leftBottom' | 'rightTop' | 'rightBottom' | null,
},
notificationStackAxis: {
where: 'device',