Remove 'beta' pill from Element Call option (#30726)
* Remove 'beta' pill from Element Call option This just removes the 'beta' lebelling: it does not take it out of labs by default just yet. * Appease import linter
This commit is contained in:
@@ -7,9 +7,10 @@ Please see LICENSE files in the repository root for full details.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { type Room } from "matrix-js-sdk/src/matrix";
|
import { type Room } from "matrix-js-sdk/src/matrix";
|
||||||
import React, { type ReactNode, useCallback, useEffect, useMemo, useState } from "react";
|
|
||||||
import { CallType } from "matrix-js-sdk/src/webrtc/call";
|
import { CallType } from "matrix-js-sdk/src/webrtc/call";
|
||||||
|
import { type ReactNode, useCallback, useEffect, useMemo, useState } from "react";
|
||||||
|
|
||||||
|
import type React from "react";
|
||||||
import { useFeatureEnabled, useSettingValue } from "../useSettings";
|
import { useFeatureEnabled, useSettingValue } from "../useSettings";
|
||||||
import SdkConfig from "../../SdkConfig";
|
import SdkConfig from "../../SdkConfig";
|
||||||
import { useEventEmitter, useEventEmitterState } from "../useEventEmitter";
|
import { useEventEmitter, useEventEmitterState } from "../useEventEmitter";
|
||||||
@@ -33,7 +34,6 @@ import { Action } from "../../dispatcher/actions";
|
|||||||
import { CallStore, CallStoreEvent } from "../../stores/CallStore";
|
import { CallStore, CallStoreEvent } from "../../stores/CallStore";
|
||||||
import { isVideoRoom } from "../../utils/video-rooms";
|
import { isVideoRoom } from "../../utils/video-rooms";
|
||||||
import { UIFeature } from "../../settings/UIFeature";
|
import { UIFeature } from "../../settings/UIFeature";
|
||||||
import { BetaPill } from "../../components/views/beta/BetaCard";
|
|
||||||
import { type InteractionName } from "../../PosthogTrackers";
|
import { type InteractionName } from "../../PosthogTrackers";
|
||||||
import { ElementCallMemberEventType } from "../../call-types";
|
import { ElementCallMemberEventType } from "../../call-types";
|
||||||
|
|
||||||
@@ -55,7 +55,6 @@ export const getPlatformCallTypeProps = (
|
|||||||
return {
|
return {
|
||||||
label: _t("voip|element_call"),
|
label: _t("voip|element_call"),
|
||||||
analyticsName: "WebVoipOptionElementCall",
|
analyticsName: "WebVoipOptionElementCall",
|
||||||
children: <BetaPill />,
|
|
||||||
};
|
};
|
||||||
case PlatformCallType.JitsiCall:
|
case PlatformCallType.JitsiCall:
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user