From 35e7fdacb5afd5f00c0e614f4f13015a3b3ce865 Mon Sep 17 00:00:00 2001 From: redphx <96280+redphx@users.noreply.github.com> Date: Sun, 9 Jun 2024 11:48:12 +0700 Subject: [PATCH] Disable context menu on devices with touch support by default --- src/utils/preferences.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/preferences.ts b/src/utils/preferences.ts index 86db421..259fcde 100644 --- a/src/utils/preferences.ts +++ b/src/utils/preferences.ts @@ -544,7 +544,7 @@ export class Preferences { [PrefKey.UI_HOME_CONTEXT_MENU_DISABLED]: { label: t('disable-home-context-menu'), - default: false, + default: STATES.browserHasTouchSupport, }, [PrefKey.BLOCK_SOCIAL_FEATURES]: {