Fix the Settings button not showing for some users

This commit is contained in:
redphx 2023-12-08 07:23:44 +07:00
parent b4149e718b
commit ccdb944b99

View File

@ -5764,7 +5764,7 @@ function interceptHttpRequests() {
} }
// Start rendering UI // Start rendering UI
if (!document.getElementById('gamepass-root')) { if (document.querySelector('div[class^=UnsupportedMarketPage]')) {
setTimeout(watchHeader, 2000); setTimeout(watchHeader, 2000);
} else { } else {
watchHeader(); watchHeader();