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

@@ -41,7 +41,7 @@ export class GameBar {
this.actions = [
new ScreenshotAction(),
...(STATES.hasTouchSupport && (getPref(PrefKey.STREAM_TOUCH_CONTROLLER) !== 'off') ? [new TouchControlAction()] : []),
...(STATES.userAgentHasTouchSupport && (getPref(PrefKey.STREAM_TOUCH_CONTROLLER) !== 'off') ? [new TouchControlAction()] : []),
new MicrophoneAction(),
];