disable blurEffect on mobile due to it causing problems

This commit is contained in:
ThatOneCalculator 2022-11-26 21:45:17 -08:00
parent e120815476
commit ee5d02689b
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "calckey",
"version": "12.119.0-calc.17.8",
"version": "12.119.0-calc.17.9",
"codename": "aqua",
"repository": {
"type": "git",

View File

@ -296,7 +296,7 @@ import { getAccountFromId } from '@/scripts/get-account-from-id';
}, { immediate: true });
watch(defaultStore.reactiveState.useBlurEffect, v => {
if (v) {
if (v && deviceKind !== 'smartphone') {
document.documentElement.style.removeProperty('--blur');
} else {
document.documentElement.style.setProperty('--blur', 'none');