Switch to the new grid once there are >12 participants

This commit is contained in:
Robin Townsend
2023-06-13 12:47:45 -04:00
parent 4d5c3cd773
commit 2916eb45aa
4 changed files with 3 additions and 19 deletions

View File

@@ -33,7 +33,6 @@ import { MediaDevicesState } from "./mediaDevices";
import {
useShowInspector,
useOptInAnalytics,
useNewGrid,
useDeveloperSettingsTab,
} from "./useSetting";
import { FieldRow, InputField } from "../input/Input";
@@ -60,7 +59,6 @@ export const SettingsModal = (props: Props) => {
const [optInAnalytics, setOptInAnalytics] = useOptInAnalytics();
const [developerSettingsTab, setDeveloperSettingsTab] =
useDeveloperSettingsTab();
const [newGrid, setNewGrid] = useNewGrid();
const downloadDebugLog = useDownloadDebugLog();
@@ -235,17 +233,6 @@ export const SettingsModal = (props: Props) => {
}
/>
</FieldRow>
<FieldRow>
<InputField
id="newGrid"
label={t("Use the upcoming grid system")}
type="checkbox"
checked={newGrid}
onChange={(e: React.ChangeEvent<HTMLInputElement>) =>
setNewGrid(e.target.checked)
}
/>
</FieldRow>
<FieldRow>
<Button onPress={downloadDebugLog}>
{t("Download debug logs")}