"use client"; import { useTranslations } from 'next-intl'; import { useSettingsStore } from '@/stores/settings-store'; import { SettingsSection, SettingItem, ToggleSwitch } from './settings-section'; import { LanguageSettings } from './language-settings'; import { ProtocolHandlerSettings } from './protocol-handler-settings'; import { useTour } from '@/components/tour/tour-provider'; import { Button } from '@/components/ui/button'; import { PlayCircle } from '@/components/icons'; import { IS_LITE } from '@/lib/lite'; /** * The General page: language and time, which links the browser hands to * Bulwark (the former Default apps tab; its handler routes do not exist in * the static Lite build), and the getting-started tour. */ export function GeneralSettings({ supportsCalendar }: { supportsCalendar: boolean }) { const tTour = useTranslations('tour'); const { showOnboardingOnNewDevices, updateSetting } = useSettingsStore(); const { startTour, resetTourCompletion } = useTour(); return (
{!IS_LITE && } updateSetting('showOnboardingOnNewDevices', checked)} />
); }