diff --git a/packages/frontend/src/components/Settings/Communication.tsx b/packages/frontend/src/components/Settings/Communication.tsx index c8fc0b5b46..ed5dc12936 100644 --- a/packages/frontend/src/components/Settings/Communication.tsx +++ b/packages/frontend/src/components/Settings/Communication.tsx @@ -8,6 +8,7 @@ import SettingsSelector from './SettingsSelector' import SmallSelectDialog, { SelectDialogOption } from '../SmallSelectDialog' import useDialog from '../../hooks/dialog/useDialog' import useTranslationFunction from '../../hooks/useTranslationFunction' +import CoreSettingsSwitch from './CoreSettingsSwitch' function showToString(configValue: number | string) { if (typeof configValue === 'string') configValue = Number(configValue) @@ -55,11 +56,18 @@ export default function Communication({ settingsStore }: Props) { if (!settingsStore.settings['show_emails']) return null return ( - - {tx('pref_show_emails')} - + <> + + {tx('pref_show_emails')} + + + ) } diff --git a/packages/frontend/src/components/Settings/ExperimentalFeatures.tsx b/packages/frontend/src/components/Settings/ExperimentalFeatures.tsx index 27f672fd46..31de16a53f 100644 --- a/packages/frontend/src/components/Settings/ExperimentalFeatures.tsx +++ b/packages/frontend/src/components/Settings/ExperimentalFeatures.tsx @@ -102,11 +102,6 @@ export function ExperimentalFeatures({ settingsStore }: Props) { // 853b584251a5dacf60ebc616f7fb10edffb5c5e5/src/main/index.ts#L12-L21 description='Careful: opening developer tools on a malicious webxdc app could lead to the app getting access to the Internet' /> - {/* If this stops being experimental, add it to the Keyboard shortcuts help (Ctrl + /), and KEYBINDINGS.md. And don't forget about "Esc" to cancel reply */}