feat(native-participants-pane) fixed slider error on android
This commit is contained in:
parent
e7a324185f
commit
65fbc6f256
|
@ -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…
Reference in New Issue