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

pull/9594/head
Calin Chitu 4 years ago committed by Hristo Terezov
parent e7a324185f
commit 65fbc6f256
  1. 0
      react/features/participants-pane/actions.web.js
  2. 2
      react/features/participants-pane/components/native/ParticipantsPane.js
  3. 4
      react/features/video-menu/components/native/VolumeSlider.js

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

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

Loading…
Cancel
Save