From 5439afa5c8629c00ca777a1f11bdc7bcbbbc1ca3 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 1 Mar 2026 20:12:52 -0500 Subject: [PATCH] fix: Minor language and position tweaks --- app/components/Switch.tsx | 7 ++++--- app/hooks/useSettingsConfig.ts | 13 ++++++------- app/scenes/Document/components/DocumentMeta.tsx | 7 ++++++- app/scenes/Search/Search.tsx | 3 ++- .../Settings/{APIAndApps.tsx => APIAndAccess.tsx} | 12 ++++++------ shared/i18n/locales/en_US/translation.json | 2 +- 6 files changed, 25 insertions(+), 19 deletions(-) rename app/scenes/Settings/{APIAndApps.tsx => APIAndAccess.tsx} (93%) diff --git a/app/components/Switch.tsx b/app/components/Switch.tsx index aeccfa720e..f2cf660ef7 100644 --- a/app/components/Switch.tsx +++ b/app/components/Switch.tsx @@ -28,6 +28,7 @@ interface Props extends Omit< disabled?: boolean; /** Callback when the switch state changes */ onChange?: (checked: boolean) => void; + inForm?: boolean; } function Switch( @@ -71,7 +72,7 @@ function Switch( if (label) { return ( - +