瀏覽代碼

[RN] Update audio-only icon

Match the one on the web.
j8
Saúl Ibarra Corretgé 8 年之前
父節點
當前提交
46a87e42ce
共有 2 個檔案被更改,包括 2 行新增11 行删除
  1. 2
    2
      react/features/toolbox/components/Toolbox.native.js
  2. 0
    9
      react/features/toolbox/components/styles.js

+ 2
- 2
react/features/toolbox/components/Toolbox.native.js 查看文件

@@ -207,8 +207,8 @@ class Toolbox extends Component {
207 207
                     style = { style }
208 208
                     underlayColor = { underlayColor } />
209 209
                 <ToolbarButton
210
-                    iconName = 'hangup'
211
-                    iconStyle = { styles.toggleAudioOnlyIcon }
210
+                    iconName = 'visibility'
211
+                    iconStyle = { iconStyle }
212 212
                     onClick = { this.props._onToggleAudioOnly }
213 213
                     style = { style }
214 214
                     underlayColor = { underlayColor } />

+ 0
- 9
react/features/toolbox/components/styles.js 查看文件

@@ -133,15 +133,6 @@ export default createStyleSheet({
133 133
      */
134 134
     secondaryToolbarButtonIcon,
135 135
 
136
-    /**
137
-     * The icon style of the toolbar button in {@link #secondaryToolbar} which
138
-     * toggles the audio-only mode of the current conference.
139
-     */
140
-    toggleAudioOnlyIcon: {
141
-        ...secondaryToolbarButtonIcon,
142
-        transform: [ { rotate: '135deg' } ]
143
-    },
144
-
145 136
     /**
146 137
      * The style of the root/top-level {@link Container} of {@link Toolbox}
147 138
      * which contains {@link Toolbar}s.

Loading…
取消
儲存