diff --git a/public/locales/en-GB/app.json b/public/locales/en-GB/app.json index b2bfc56..21af889 100644 --- a/public/locales/en-GB/app.json +++ b/public/locales/en-GB/app.json @@ -101,6 +101,7 @@ "Sending…": "Sending…", "Settings": "Settings", "Share screen": "Share screen", + "Show call feed debug info": "Show call feed debug info", "Show call inspector": "Show call inspector", "Sign in": "Sign in", "Sign out": "Sign out", diff --git a/src/settings/SettingsModal.tsx b/src/settings/SettingsModal.tsx index 106ef9e..ccff126 100644 --- a/src/settings/SettingsModal.tsx +++ b/src/settings/SettingsModal.tsx @@ -33,6 +33,7 @@ import { useShowInspector, useOptInAnalytics, canEnableSpatialAudio, + useShowCallFeedDebugInfo, } from "./useSetting"; import { FieldRow, InputField } from "../input/Input"; import { Button } from "../button"; @@ -60,6 +61,8 @@ export const SettingsModal = (props: Props) => { const [spatialAudio, setSpatialAudio] = useSpatialAudio(); const [showInspector, setShowInspector] = useShowInspector(); + const [showCallFeedDebugInfo, setShowCallFeedDebugInfo] = + useShowCallFeedDebugInfo(); const [optInAnalytics, setOptInAnalytics] = useOptInAnalytics(); const [keyboardShortcuts, setKeyboardShortcuts] = useKeyboardShortcuts(); @@ -216,6 +219,18 @@ export const SettingsModal = (props: Props) => { } /> + + ) => + setShowCallFeedDebugInfo(e.target.checked) + } + /> +