Rename "hasTouchSupport" to "userAgentHasTouchSupport"

This commit is contained in:
redphx
2024-06-09 11:47:08 +07:00
parent a3a7a57b51
commit 504f16b802
11 changed files with 18 additions and 18 deletions

View File

@@ -62,8 +62,8 @@ const SETTINGS_UI = {
},
[t('touch-controller')]: {
note: !STATES.hasTouchSupport ? '⚠️ ' + t('device-unsupported-touch') : null,
unsupported: !STATES.hasTouchSupport,
note: !STATES.userAgentHasTouchSupport ? '⚠️ ' + t('device-unsupported-touch') : null,
unsupported: !STATES.userAgentHasTouchSupport,
items: [
PrefKey.STREAM_TOUCH_CONTROLLER,
PrefKey.STREAM_TOUCH_CONTROLLER_AUTO_OFF,