From 65fbc6f2563e4af55b51d87740f309dc6e94046b Mon Sep 17 00:00:00 2001 From: Calin Chitu Date: Thu, 10 Jun 2021 17:38:19 +0300 Subject: [PATCH] feat(native-participants-pane) fixed slider error on android --- .../participants-pane/{actions.any.js => actions.web.js} | 0 .../participants-pane/components/native/ParticipantsPane.js | 2 +- react/features/video-menu/components/native/VolumeSlider.js | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) rename react/features/participants-pane/{actions.any.js => actions.web.js} (100%) diff --git a/react/features/participants-pane/actions.any.js b/react/features/participants-pane/actions.web.js similarity index 100% rename from react/features/participants-pane/actions.any.js rename to react/features/participants-pane/actions.web.js diff --git a/react/features/participants-pane/components/native/ParticipantsPane.js b/react/features/participants-pane/components/native/ParticipantsPane.js index 44dc6b7a6..ef7180bbd 100644 --- a/react/features/participants-pane/components/native/ParticipantsPane.js +++ b/react/features/participants-pane/components/native/ParticipantsPane.js @@ -23,7 +23,7 @@ import styles from './styles'; * * @returns {React$Element} */ -export function ParticipantsPane() { +function ParticipantsPane() { const dispatch = useDispatch(); const openMoreMenu = useCallback(() => dispatch(openDialog(ContextMenuMore)), [ dispatch ]); const closePane = useCallback(() => dispatch(hideDialog()), [ dispatch ]); diff --git a/react/features/video-menu/components/native/VolumeSlider.js b/react/features/video-menu/components/native/VolumeSlider.js index 97e957d16..aba412af0 100644 --- a/react/features/video-menu/components/native/VolumeSlider.js +++ b/react/features/video-menu/components/native/VolumeSlider.js @@ -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 { minimumValue = { 0 } onValueChange = { this._onVolumeChange } style = { styles.sliderContainer } + thumbTintColor = { palette.field02 } value = { volumeLevel } />