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

@@ -596,7 +596,7 @@ export function interceptHttpRequests() {
}
// Add list of games with custom layouts to the official list
if (STATES.hasTouchSupport && url.includes('catalog.gamepass.com/sigls/')) {
if (STATES.userAgentHasTouchSupport && url.includes('catalog.gamepass.com/sigls/')) {
const response = await NATIVE_FETCH(request, init);
const obj = await response.clone().json();