Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(aot) fix icons creating deps to store (#13901)
Horatiu Muresan6c41ddb62242
diff --git a/react/features/always-on-top/AudioMuteButton.tsx b/react/features/always-on-top/AudioMuteButton.tsxindex d14035230b..323026ba23 100644--- a/react/features/always-on-top/AudioMuteButton.tsx+++ b/react/features/always-on-top/AudioMuteButton.tsx@@ -2,7 +2,8 @@ import React, { Component } from 'react';// We need to reference these files directly to avoid loading things that are not available// in this environment (e.g. JitsiMeetJS or interfaceConfig)-import { IconMic, IconMicSlash } from '../base/icons/svg';++import { DEFAULT_ICON } from '../base/icons/svg/constants';import { IProps } from '../base/toolbox/components/AbstractButton';import ToolbarButton from './ToolbarButton';@@ -31,8 +32,8 @@ type Props = Partial<IProps>;* Stateless "mute/unmute audio" button for the Always-on-Top windows.*/export default class AudioMuteButton extends Component<Props, IState> {- icon = IconMic;- toggledIcon = IconMicSlash;+ icon = DEFAULT_ICON.IconMic;+ toggledIcon = DEFAULT_ICON.IconMicSlash;accessibilityLabel = 'Audio mute';/**diff --git a/react/features/always-on-top/HangupButton.tsx b/react/features/always-on-top/HangupButton.tsxindex b9ca879ed6..5b97f604dd 100644--- a/react/features/always-on-top/HangupButton.tsx+++ b/react/features/always-on-top/HangupButton.tsx@@ -2,7 +2,7 @@ import React, { Component } from 'react';// We need to reference these files directly to avoid loading things that are not available// in this environment (e.g. JitsiMeetJS or interfaceConfig)-import { IconHangup } from '../base/icons/svg';+import { DEFAULT_ICON } from '../base/icons/svg/constants';import { IProps } from '../base/toolbox/components/AbstractButton';import ToolbarButton from './ToolbarButton';@@ -17,7 +17,7 @@ type Props = Partial<IProps>;export default class HangupButton extends Component<Props> {accessibilityLabel = 'Hangup';- icon = IconHangup;+ icon = DEFAULT_ICON.IconHangup;/*** Initializes a new {@code HangupButton} instance.diff --git a/react/features/always-on-top/VideoMuteButton.tsx b/react/features/always-on-top/VideoMuteButton.tsxindex 01007e075d..f6522c0771 100644--- a/react/features/always-on-top/VideoMuteButton.tsx+++ b/react/features/always-on-top/VideoMuteButton.tsx@@ -2,7 +2,7 @@ import React, { Component } from 'react';// We need to reference these files directly to avoid loading things that are not available// in this environment (e.g. JitsiMeetJS or interfaceConfig)-import { IconVideo, IconVideoOff } from '../base/icons/svg';+import { DEFAULT_ICON } from '../base/icons/svg/constants';import { IProps } from '../base/toolbox/components/AbstractButton';import ToolbarButton from './ToolbarButton';@@ -32,8 +32,8 @@ type State = {*/export default class VideoMuteButton extends Component<Props, State> {- icon = IconVideo;- toggledIcon = IconVideoOff;+ icon = DEFAULT_ICON.IconVideo;+ toggledIcon = DEFAULT_ICON.IconVideoOff;accessibilityLabel = 'Video mute';/**