Browse Source

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

factor2
Calin Chitu 4 years ago
parent
commit
65fbc6f256

react/features/participants-pane/actions.any.js → react/features/participants-pane/actions.web.js View File


+ 1
- 1
react/features/participants-pane/components/native/ParticipantsPane.js View File

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

+ 2
- 2
react/features/video-menu/components/native/VolumeSlider.js View File

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

Loading…
Cancel
Save