diff --git a/packages/web/src/components/notification-setting.tsx b/packages/web/src/components/notification-setting.tsx index 4a23c677..cc0db15d 100644 --- a/packages/web/src/components/notification-setting.tsx +++ b/packages/web/src/components/notification-setting.tsx @@ -1,4 +1,5 @@ import {useState} from 'react'; +import {BellIcon, BellOffIcon} from 'lucide-react'; import {PillButton} from '@proxy/ui/components/pill-button'; import { notificationsBlocked, @@ -7,9 +8,9 @@ import { turnNotificationsOn, } from '@/lib/notifications'; -// Notifications of what the agents say while the person is elsewhere, on this device: on or off, -// with the button that turns them the other way; where the browser has refused the page its -// leave, the way to change that is the browser's own. +// Notifications of what the agents say while the person is elsewhere, on this device: one button +// for on and one for off, the one in use pressed, as the theme picker looks; where the browser has +// refused the page its leave, the way to change that is the browser's own. export function NotificationSetting() { const [on, setOn] = useState(notificationsOn); const [blocked, setBlocked] = useState(notificationsBlocked); @@ -30,11 +31,15 @@ export function NotificationSetting() { } return ( - - {on ? 'On' : 'Off'} - void turnOn()}> - {on ? 'Turn off' : 'Turn on'} +
+ void turnOn()}> + + On - + + + Off + +
); }