mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-14 12:57:49 +00:00
chore: remove some cycles
This commit is contained in:
committed by
Saúl Ibarra Corretgé
parent
af5d4c850b
commit
a67d0fbf6c
@@ -9,8 +9,8 @@ import {
|
||||
import { translate } from '../../base/i18n';
|
||||
import { MEDIA_TYPE } from '../../base/media';
|
||||
import { connect } from '../../base/redux';
|
||||
import { AbstractAudioMuteButton } from '../../base/toolbox';
|
||||
import type { AbstractButtonProps } from '../../base/toolbox';
|
||||
import { AbstractAudioMuteButton } from '../../base/toolbox/components';
|
||||
import type { AbstractButtonProps } from '../../base/toolbox/components';
|
||||
import { isLocalTrackMuted } from '../../base/tracks';
|
||||
import { muteLocal } from '../../remote-video-menu/actions';
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ import { createToolbarEvent, sendAnalytics } from '../../analytics';
|
||||
import { translate } from '../../base/i18n';
|
||||
import { IconDownload } from '../../base/icons';
|
||||
import { connect } from '../../base/redux';
|
||||
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox';
|
||||
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox/components';
|
||||
import { openURLInBrowser } from '../../base/util';
|
||||
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@ import { appNavigate } from '../../app/actions';
|
||||
import { disconnect } from '../../base/connection';
|
||||
import { translate } from '../../base/i18n';
|
||||
import { connect } from '../../base/redux';
|
||||
import { AbstractHangupButton } from '../../base/toolbox';
|
||||
import type { AbstractButtonProps } from '../../base/toolbox';
|
||||
import { AbstractHangupButton } from '../../base/toolbox/components';
|
||||
import type { AbstractButtonProps } from '../../base/toolbox/components';
|
||||
|
||||
/**
|
||||
* The type of the React {@code Component} props of {@link HangupButton}.
|
||||
|
||||
@@ -4,7 +4,7 @@ import { createToolbarEvent, sendAnalytics } from '../../analytics';
|
||||
import { translate } from '../../base/i18n';
|
||||
import { IconHelp } from '../../base/icons';
|
||||
import { connect } from '../../base/redux';
|
||||
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox';
|
||||
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox/components';
|
||||
import { openURLInBrowser } from '../../base/util';
|
||||
|
||||
|
||||
|
||||
@@ -16,8 +16,8 @@ import {
|
||||
setVideoMuted
|
||||
} from '../../base/media';
|
||||
import { connect } from '../../base/redux';
|
||||
import { AbstractVideoMuteButton } from '../../base/toolbox';
|
||||
import type { AbstractButtonProps } from '../../base/toolbox';
|
||||
import { AbstractVideoMuteButton } from '../../base/toolbox/components';
|
||||
import type { AbstractButtonProps } from '../../base/toolbox/components';
|
||||
import { getLocalVideoType, isLocalVideoTrackMuted } from '../../base/tracks';
|
||||
|
||||
declare var APP: Object;
|
||||
|
||||
@@ -4,8 +4,7 @@ import { toggleAudioOnly } from '../../../base/audio-only';
|
||||
import { translate } from '../../../base/i18n';
|
||||
import { IconAudioOnly, IconAudioOnlyOff } from '../../../base/icons';
|
||||
import { connect } from '../../../base/redux';
|
||||
import { AbstractButton } from '../../../base/toolbox';
|
||||
import type { AbstractButtonProps } from '../../../base/toolbox';
|
||||
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
|
||||
|
||||
/**
|
||||
* The type of the React {@code Component} props of {@link AudioOnlyButton}.
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
|
||||
import { translate } from '../../../base/i18n';
|
||||
import { IconMenu } from '../../../base/icons';
|
||||
import { AbstractButton } from '../../../base/toolbox';
|
||||
import type { AbstractButtonProps } from '../../../base/toolbox';
|
||||
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
|
||||
|
||||
|
||||
type Props = AbstractButtonProps;
|
||||
|
||||
@@ -17,7 +17,7 @@ import { LiveStreamButton, RecordButton } from '../../../recording';
|
||||
import { RoomLockButton } from '../../../room-lock';
|
||||
import { ClosedCaptionButton } from '../../../subtitles';
|
||||
import { TileViewButton } from '../../../video-layout';
|
||||
import { VideoShareButton } from '../../../youtube-player';
|
||||
import { VideoShareButton } from '../../../youtube-player/components';
|
||||
import HelpButton from '../HelpButton';
|
||||
|
||||
import AudioOnlyButton from './AudioOnlyButton';
|
||||
|
||||
@@ -4,8 +4,7 @@ import { openDialog } from '../../../base/dialog';
|
||||
import { translate } from '../../../base/i18n';
|
||||
import { IconMenuThumb } from '../../../base/icons';
|
||||
import { connect } from '../../../base/redux';
|
||||
import { AbstractButton } from '../../../base/toolbox';
|
||||
import type { AbstractButtonProps } from '../../../base/toolbox';
|
||||
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
|
||||
|
||||
import OverflowMenu from './OverflowMenu';
|
||||
|
||||
|
||||
@@ -14,8 +14,7 @@ import {
|
||||
participantUpdated
|
||||
} from '../../../base/participants';
|
||||
import { connect } from '../../../base/redux';
|
||||
import { AbstractButton } from '../../../base/toolbox';
|
||||
import type { AbstractButtonProps } from '../../../base/toolbox';
|
||||
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
|
||||
|
||||
/**
|
||||
* The type of the React {@code Component} props of {@link RaiseHandButton}.
|
||||
|
||||
@@ -4,8 +4,7 @@ import { translate } from '../../../base/i18n';
|
||||
import { IconSwitchCamera } from '../../../base/icons';
|
||||
import { MEDIA_TYPE, toggleCameraFacingMode } from '../../../base/media';
|
||||
import { connect } from '../../../base/redux';
|
||||
import { AbstractButton } from '../../../base/toolbox';
|
||||
import type { AbstractButtonProps } from '../../../base/toolbox';
|
||||
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
|
||||
import { isLocalTrackMuted } from '../../../base/tracks';
|
||||
|
||||
/**
|
||||
|
||||
@@ -6,7 +6,7 @@ import { isMobileBrowser } from '../../../base/environment/utils';
|
||||
import { IconArrowDown } from '../../../base/icons';
|
||||
import JitsiMeetJS from '../../../base/lib-jitsi-meet/_';
|
||||
import { connect } from '../../../base/redux';
|
||||
import { ToolboxButtonWithIcon } from '../../../base/toolbox';
|
||||
import { ToolboxButtonWithIcon } from '../../../base/toolbox/components';
|
||||
import { getMediaPermissionPromptVisibility } from '../../../overlay';
|
||||
import { AudioSettingsPopup, toggleAudioSettings } from '../../../settings';
|
||||
import { isAudioSettingsButtonDisabled } from '../../functions';
|
||||
|
||||
@@ -6,7 +6,7 @@ import { translate } from '../../../base/i18n';
|
||||
import { IconMuteEveryone } from '../../../base/icons';
|
||||
import { getLocalParticipant, PARTICIPANT_ROLE } from '../../../base/participants';
|
||||
import { connect } from '../../../base/redux';
|
||||
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox';
|
||||
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
|
||||
import { MuteEveryoneDialog } from '../../../remote-video-menu';
|
||||
|
||||
type Props = AbstractButtonProps & {
|
||||
|
||||
@@ -30,7 +30,7 @@ import {
|
||||
participantUpdated
|
||||
} from '../../../base/participants';
|
||||
import { connect, equals } from '../../../base/redux';
|
||||
import { OverflowMenuItem } from '../../../base/toolbox';
|
||||
import { OverflowMenuItem } from '../../../base/toolbox/components';
|
||||
import { getLocalVideoTrack, toggleScreensharing } from '../../../base/tracks';
|
||||
import { VideoBlurButton } from '../../../blur';
|
||||
import { CHAT_SIZE, ChatCounter, toggleChat } from '../../../chat';
|
||||
|
||||
@@ -6,7 +6,7 @@ import { isMobileBrowser } from '../../../base/environment/utils';
|
||||
import { IconArrowDown } from '../../../base/icons';
|
||||
import JitsiMeetJS from '../../../base/lib-jitsi-meet/_';
|
||||
import { connect } from '../../../base/redux';
|
||||
import { ToolboxButtonWithIcon } from '../../../base/toolbox';
|
||||
import { ToolboxButtonWithIcon } from '../../../base/toolbox/components';
|
||||
import { getLocalJitsiVideoTrack } from '../../../base/tracks';
|
||||
import { getMediaPermissionPromptVisibility } from '../../../overlay';
|
||||
import { toggleVideoSettings, VideoSettingsPopup } from '../../../settings';
|
||||
|
||||
Reference in New Issue
Block a user