diff options
Diffstat (limited to 'frontend/src')
| -rw-r--r-- | frontend/src/developer.tsx | 11 | ||||
| -rw-r--r-- | frontend/src/toaster.tsx | 10 |
2 files changed, 14 insertions, 7 deletions
diff --git a/frontend/src/developer.tsx b/frontend/src/developer.tsx index 199350bf..67d9c4b8 100644 --- a/frontend/src/developer.tsx +++ b/frontend/src/developer.tsx @@ -11,12 +11,11 @@ let removeSettingsObserver: () => void = () => {}; export async function setShowValveInternal(show: boolean) { if (show) { - const mobx = - (window.settingsStore as any)[ - Object.getOwnPropertySymbols(window.settingsStore).find( - (x) => x.toString() == 'Symbol(mobx administration)', - ) as any - ]; + const mobx = (window.settingsStore as any)[ + Object.getOwnPropertySymbols(window.settingsStore).find( + (x) => x.toString() == 'Symbol(mobx administration)', + ) as any + ]; removeSettingsObserver = (mobx.observe_ || mobx.observe).call(mobx, (e: any) => { e.newValue.bIsValveEmail = true; diff --git a/frontend/src/toaster.tsx b/frontend/src/toaster.tsx index e8202541..e5b2d986 100644 --- a/frontend/src/toaster.tsx +++ b/frontend/src/toaster.tsx @@ -1,5 +1,13 @@ import type { ToastData, ToastNotification } from '@decky/api'; -import { ESteamNotificationAction, ErrorBoundary, Patch, callOriginal, findModuleExport, injectFCTrampoline, replacePatch } from '@decky/ui'; +import { + ESteamNotificationAction, + ErrorBoundary, + Patch, + callOriginal, + findModuleExport, + injectFCTrampoline, + replacePatch, +} from '@decky/ui'; import Toast from './components/Toast'; import Logger from './logger'; |
