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

This commit is contained in:
Calin Chitu 2021-06-10 17:38:19 +03:00 committed by Hristo Terezov
parent e7a324185f
commit 65fbc6f256
3 changed files with 3 additions and 3 deletions

View File

@ -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 ]);

View File

@ -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>