浏览代码

feat(native-participants-pane) fixed slider error on android

factor2
Calin Chitu 4 年前
父节点
当前提交
65fbc6f256

react/features/participants-pane/actions.any.js → react/features/participants-pane/actions.web.js 查看文件


+ 1
- 1
react/features/participants-pane/components/native/ParticipantsPane.js 查看文件

23
  *
23
  *
24
  * @returns {React$Element<any>}
24
  * @returns {React$Element<any>}
25
  */
25
  */
26
-export function ParticipantsPane() {
26
+function ParticipantsPane() {
27
     const dispatch = useDispatch();
27
     const dispatch = useDispatch();
28
     const openMoreMenu = useCallback(() => dispatch(openDialog(ContextMenuMore)), [ dispatch ]);
28
     const openMoreMenu = useCallback(() => dispatch(openDialog(ContextMenuMore)), [ dispatch ]);
29
     const closePane = useCallback(() => dispatch(hideDialog()), [ dispatch ]);
29
     const closePane = useCallback(() => dispatch(hideDialog()), [ dispatch ]);

+ 2
- 2
react/features/video-menu/components/native/VolumeSlider.js 查看文件

1
 // @flow
1
 // @flow
2
 
2
 
3
-import Slider from '@react-native-community/slider';
4
 import React, { Component } from 'react';
3
 import React, { Component } from 'react';
5
-import { View } from 'react-native';
4
+import { Slider, View } from 'react-native';
6
 import { withTheme } from 'react-native-paper';
5
 import { withTheme } from 'react-native-paper';
7
 
6
 
8
 import { Icon, IconVolumeEmpty } from '../../../base/icons';
7
 import { Icon, IconVolumeEmpty } from '../../../base/icons';
93
                     minimumValue = { 0 }
92
                     minimumValue = { 0 }
94
                     onValueChange = { this._onVolumeChange }
93
                     onValueChange = { this._onVolumeChange }
95
                     style = { styles.sliderContainer }
94
                     style = { styles.sliderContainer }
95
+                    thumbTintColor = { palette.field02 }
96
                     value = { volumeLevel } />
96
                     value = { volumeLevel } />
97
             </View>
97
             </View>
98
 
98
 

正在加载...
取消
保存