diff --git a/src/components/views/SettingsView.tsx b/src/components/views/SettingsView.tsx index 61c0fcb..5230b11 100644 --- a/src/components/views/SettingsView.tsx +++ b/src/components/views/SettingsView.tsx @@ -44,13 +44,8 @@ const SettingsView = memo(function SettingsView() { skipIntro, setSkipIntro, } = useConfig(); - const { - currentTrack, - skipTrack, - tracks, - playPressSound, - playBackSound, - } = useAudio(); + const { currentTrack, skipTrack, tracks, playPressSound, playBackSound } = + useAudio(); const { isGameRunning, stopGame, @@ -424,13 +419,13 @@ const SettingsView = memo(function SettingsView() { }, }); } else if (currentSubMenu === "launcher") { - items.push({ - id: "fullscreen", - label: `Start in Fullscreen: ${startFullscreen ? "ON" : "OFF"}`, - type: "button", - onClick: handleFullscreenToggle, - }); if (!isAndroid) { + items.push({ + id: "fullscreen", + label: `Start in Fullscreen: ${startFullscreen ? "ON" : "OFF"}`, + type: "button", + onClick: handleFullscreenToggle, + }); items.push({ id: "rpc", label: `Discord RPC: ${rpcEnabled ? "ON" : "OFF"}`, @@ -925,30 +920,31 @@ const SettingsView = memo(function SettingsView() { )} - {!isAndroid && (() => { - const backIndex = settingsItems.findIndex((i) => i.id === "back"); - const backItem = settingsItems[backIndex]; - if (!backItem || backItem.type !== "button") return null; + {!isAndroid && + (() => { + const backIndex = settingsItems.findIndex((i) => i.id === "back"); + const backItem = settingsItems[backIndex]; + if (!backItem || backItem.type !== "button") return null; - return ( - - ); - })()} + return ( + + ); + })()} {showModal === "args" && (