diff --git a/ui/desktop/src/App.tsx b/ui/desktop/src/App.tsx index c7e80ace..bef7f792 100644 --- a/ui/desktop/src/App.tsx +++ b/ui/desktop/src/App.tsx @@ -150,6 +150,12 @@ export default function App() { }; }, []); + useEffect(() => { + const handleSetView = (_, view) => setView(view); + window.electron.on('set-view', handleSetView); + return () => window.electron.off('set-view', handleSetView); + }, []); + const handleConfirm = async () => { if (pendingLink && !isInstalling) { setIsInstalling(true); diff --git a/ui/desktop/src/components/MoreMenu.tsx b/ui/desktop/src/components/MoreMenu.tsx index b1bd51ae..64c49dfc 100644 --- a/ui/desktop/src/components/MoreMenu.tsx +++ b/ui/desktop/src/components/MoreMenu.tsx @@ -228,7 +228,7 @@ export default function MoreMenu({ setView }: { setView: (view: View) => void }) }} className="w-full text-left p-2 text-sm hover:bg-bgSubtle transition-colors" > - Settings + Settings (cmd+,)