diff --git a/src/settings/SettingsModal.tsx b/src/settings/SettingsModal.tsx index f689f5c9..2cc8c1f1 100644 --- a/src/settings/SettingsModal.tsx +++ b/src/settings/SettingsModal.tsx @@ -46,6 +46,7 @@ import { MediaDevices, MediaDevicesState, } from "../livekit/useMediaDevicesSwitcher"; +import { useUrlParams } from "../UrlParams"; interface Props { mediaDevicesSwitcher?: MediaDevicesState; @@ -59,6 +60,8 @@ interface Props { export const SettingsModal = (props: Props) => { const { t } = useTranslation(); + const { isEmbedded } = useUrlParams(); + const [showInspector, setShowInspector] = useShowInspector(); const [optInAnalytics, setOptInAnalytics] = useOptInAnalytics(); const [developerSettingsTab, setDeveloperSettingsTab] = @@ -147,17 +150,19 @@ export const SettingsModal = (props: Props) => { > {devices && generateDeviceSelection(devices.videoIn, t("Camera"))} - - - {t("Profile")} - - } - > - - + {!isEmbedded && ( + + + {t("Profile")} + + } + > + + + )}