From f700a99d67e6cde506862bbd117704ba852052b7 Mon Sep 17 00:00:00 2001 From: Marc Hyeler Date: Thu, 25 Apr 2024 21:20:09 +0000 Subject: [PATCH 1/7] Add notification toggling functionality --- src/components/DeviceSelector.tsx | 11 +++++++++++ src/core/stores/appStore.ts | 10 ++++++++++ 2 files changed, 21 insertions(+) diff --git a/src/components/DeviceSelector.tsx b/src/components/DeviceSelector.tsx index d5cbae5d..4f485f28 100644 --- a/src/components/DeviceSelector.tsx +++ b/src/components/DeviceSelector.tsx @@ -11,6 +11,8 @@ import { PlusIcon, SunIcon, TerminalIcon, + BellIcon, + BellOffIcon, } from "lucide-react"; export const DeviceSelector = (): JSX.Element => { @@ -20,6 +22,8 @@ export const DeviceSelector = (): JSX.Element => { setSelectedDevice, darkMode, setDarkMode, + notifications, + setNotifications, setCommandPaletteOpen, setConnectDialogOpen, } = useAppStore(); @@ -61,6 +65,13 @@ export const DeviceSelector = (): JSX.Element => {
+