From c6447a2de2dcfebb7ca07fd0ba23b0ae86e1fe94 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Sat, 26 Nov 2022 21:45:17 -0800 Subject: [PATCH] disable blurEffect on mobile due to it causing problems --- package.json | 2 +- packages/client/src/init.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0f1be2c40..68098faab 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/packages/client/src/init.ts b/packages/client/src/init.ts index 1dc22874f..85acc568a 100644 --- a/packages/client/src/init.ts +++ b/packages/client/src/init.ts @@ -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');