feat(renderer): AppHeader gets Settings + About icon buttons

This commit is contained in:
2026-06-05 19:46:56 +05:30
parent fe62c8814c
commit 9d154a8521
2 changed files with 43 additions and 1 deletions
+17 -1
View File
@@ -1,4 +1,4 @@
import { PanelLeft, PanelRight, Keyboard } from 'lucide-react';
import { PanelLeft, PanelRight, Keyboard, Settings, Info } from 'lucide-react';
import { Button } from '@/components/ui/button';
import { ThemeToggle } from '@/components/theme-toggle';
import { useAppStore } from '@/stores/app-store';
@@ -47,6 +47,22 @@ export function AppHeader() {
>
<Keyboard className="h-4 w-4" />
</Button>
<Button
variant="ghost"
size="icon"
aria-label="Settings"
onClick={() => dispatch('settings.open')}
>
<Settings className="h-4 w-4" />
</Button>
<Button
variant="ghost"
size="icon"
aria-label="About"
onClick={() => dispatch('help.about')}
>
<Info className="h-4 w-4" />
</Button>
<ThemeToggle />
</div>
</header>