rename everything to controlledMediaDevices to make it consistent with the actual name in the url parameters (controlledOutput is now only used for the hook that provides the output handle)

This commit is contained in:
Timo
2025-05-20 15:30:02 +02:00
parent 1cf11b91c1
commit a1759a46de
5 changed files with 9 additions and 9 deletions

View File

@@ -107,7 +107,7 @@ export const SettingsModal: FC<Props> = ({
// If we are on ios we will show a button to open the native picker.
const iosDeviceMenu = useObservableEagerState(iosDeviceMenu$);
// In controlled devices we will not show the input section
const { controlledOutput } = useUrlParams();
const { controlledMediaDevices } = useUrlParams();
const audioTab: Tab<SettingsTab> = {
key: "audio",
@@ -115,7 +115,7 @@ export const SettingsModal: FC<Props> = ({
content: (
<>
<Form>
{!controlledOutput && (
{!controlledMediaDevices && (
<DeviceSelection
device={devices.audioInput}
title={t("settings.devices.microphone")}