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
[RN] Toggle audio-only icon based on state
Saúl Ibarra Corretgéf878f54b4dbc
diff --git a/react/features/toolbox/components/Toolbox.native.js b/react/features/toolbox/components/Toolbox.native.jsindex b06be810db..b328575fe1 100644--- a/react/features/toolbox/components/Toolbox.native.js+++ b/react/features/toolbox/components/Toolbox.native.js@@ -31,6 +31,11 @@ class Toolbox extends Component {*/_audioMuted: React.PropTypes.bool,+ /**+ * Flag showing whether the audio-only mode is in use.+ */+ _audioOnly: React.PropTypes.bool,+/*** Flag showing whether room is locked.*/@@ -207,7 +212,9 @@ class Toolbox extends Component {style = { style }underlayColor = { underlayColor } /><ToolbarButton- iconName = 'visibility'+ iconName = {+ this.props._audioOnly ? 'visibility-off' : 'visibility'+ }iconStyle = { iconStyle }onClick = { this.props._onToggleAudioOnly }style = { style }@@ -305,6 +312,7 @@ function _mapDispatchToProps(dispatch) {** @param {Object} state - Redux store.* @returns {{+ * _audioOnly: boolean,* _locked: boolean* }}* @private@@ -315,6 +323,15 @@ function _mapStateToProps(state) {return {...abstractMapStateToProps(state),+ /**+ * The indicator which determines whether the conference is in+ * audio-only mode.+ *+ * @protected+ * @type {boolean}+ */+ _audioOnly: Boolean(conference.audioOnly),+/*** The indicator which determines whether the conference is* locked/password-protected.