diff --git a/app/src/util/functions.ts b/app/src/util/functions.ts index fee2df624..19de0d267 100644 --- a/app/src/util/functions.ts +++ b/app/src/util/functions.ts @@ -3,7 +3,7 @@ export const isMobile = () => { }; export const isTouchDevice = () => { - return ("ontouchstart" in window) || navigator.maxTouchPoints > 1; + return ("ontouchstart" in window) && navigator.maxTouchPoints > 1; }; export const isArrayEqual = (arr1: string[], arr2: string[]) => {