diff --git a/src/apps/stable/routes/user/settings/index.tsx b/src/apps/stable/routes/user/settings/index.tsx index 393ba7d02..df5071f3c 100644 --- a/src/apps/stable/routes/user/settings/index.tsx +++ b/src/apps/stable/routes/user/settings/index.tsx @@ -15,6 +15,7 @@ import globalize from 'lib/globalize'; import browser from 'scripts/browser'; import Dashboard from 'utils/dashboard'; import shell from 'scripts/shell'; +import keyboardNavigation from 'scripts/keyboardNavigation'; const UserSettingsPage: FC = () => { const { user: currentUser } = useApi(); @@ -46,6 +47,9 @@ const UserSettingsPage: FC = () => { ); } + // gamepad toggle unavailable on EdgeUWP, and smoothscroll unavailable on non-TV layout + const isControlsPageEmpty = !keyboardNavigation.canEnableGamepad() && !layoutManager.tv; + return ( { )} - {isLoggedInUser && !browser.mobile && ( + {isLoggedInUser && !browser.mobile && !isControlsPageEmpty && ( -
+