Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

[RN] Use a handset icon for audio-only mode button

Saúl Ibarra Corretgé849f93375c88
diff --git a/react/features/toolbox/components/Toolbox.native.js b/react/features/toolbox/components/Toolbox.native.js
index 3161736958..393dfed081 100644
--- a/react/features/toolbox/components/Toolbox.native.js
+++ b/react/features/toolbox/components/Toolbox.native.js
@@ -212,8 +212,8 @@ class Toolbox extends Component {
style = { style }
underlayColor = { underlayColor } />
<ToolbarButton
- iconName = 'star'
- iconStyle = { iconStyle }
+ iconName = 'hangup'
+ iconStyle = { styles.audioOnlyIcon }
onClick = { this.props._onToggleAudioOnly }
style = { style }
underlayColor = { underlayColor } />
diff --git a/react/features/toolbox/components/styles.js b/react/features/toolbox/components/styles.js
index 862c6a0a94..ec194703ca 100644
--- a/react/features/toolbox/components/styles.js
+++ b/react/features/toolbox/components/styles.js
@@ -67,6 +67,15 @@ const toolbar = {
* The (conference) Toolbox/Toolbar related styles.
*/
export const styles = createStyleSheet({
+ /**
+ * The audio only (secondary) toolbar icon style.
+ */
+ audioOnlyIcon: {
+ ...smallIcon,
+ color: ColorPalette.white,
+ transform: [ { rotate: '135deg' } ]
+ },
+
/**
* The toolbar button icon style.
*/
@@ -115,6 +124,14 @@ export const styles = createStyleSheet({
opacity: 0.7
},
+ /**
+ * The secondary toolbar icon style.
+ */
+ secondaryToolbarIcon: {
+ ...smallIcon,
+ color: ColorPalette.white
+ },
+
/**
* The style of the root/top-level Container of Toolbar that contains
* toolbars.
@@ -133,13 +150,5 @@ export const styles = createStyleSheet({
whiteIcon: {
...icon,
color: ColorPalette.white
- },
-
- /**
- * The secondary toolbar icon style.
- */
- secondaryToolbarIcon: {
- ...smallIcon,
- color: ColorPalette.white
}
});