Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
[RN] Recolor AudioRoutePickerDialog
Saúl Ibarra Corretgé3212bde6e6fb
diff --git a/react/features/base/styles/components/styles/ColorPalette.js b/react/features/base/styles/components/styles/ColorPalette.jsindex 2097958200..558abe83dd 100644--- a/react/features/base/styles/components/styles/ColorPalette.js+++ b/react/features/base/styles/components/styles/ColorPalette.js@@ -24,7 +24,7 @@ export const ColorPalette = {darkGrey: '#555555',green: '#40b183',lightGrey: '#AAAAAA',- lighterGrey: '#EEEEEE',+ overflowMenuItemUnderlay: '#EEEEEE',red: '#D00000',transparent: 'rgba(0, 0, 0, 0)',white: 'white',diff --git a/react/features/mobile/audio-mode/components/AudioRoutePickerDialog.js b/react/features/mobile/audio-mode/components/AudioRoutePickerDialog.jsindex 6f20ffce3f..0677aca52e 100644--- a/react/features/mobile/audio-mode/components/AudioRoutePickerDialog.js+++ b/react/features/mobile/audio-mode/components/AudioRoutePickerDialog.js@@ -7,10 +7,10 @@ import { connect } from 'react-redux';import { hideDialog, BottomSheet } from '../../../base/dialog';import { translate } from '../../../base/i18n';-import { Icon } from '../../../base/font-icons';+import { ColorPalette } from '../../../base/styles';-import styles, { UNDERLAY_COLOR } from './styles';+import styles from './styles';/*** Type definition for a single entry in the device list.@@ -210,7 +210,7 @@ class AudioRoutePickerDialog extends Component<Props, State> {<TouchableHighlightkey = { device.type }onPress = { this._onSelectDeviceFn(device) }- underlayColor = { UNDERLAY_COLOR } >+ underlayColor = { ColorPalette.overflowMenuItemUnderlay } ><View style = { styles.deviceRow } ><Iconname = { iconName }diff --git a/react/features/mobile/audio-mode/components/styles.js b/react/features/mobile/audio-mode/components/styles.jsindex 2fd157e015..90b5ad8c11 100644--- a/react/features/mobile/audio-mode/components/styles.js+++ b/react/features/mobile/audio-mode/components/styles.js@@ -2,13 +2,6 @@import { ColorPalette, createStyleSheet } from '../../../base/styles';-/**- * Underlay color for the buttons on the sheet.- *- * @type {string}- */-export const UNDERLAY_COLOR = '#eee';-/*** The React {@code Component} styles of {@code AudioRoutePickerDialog}.*@@ -30,6 +23,7 @@ export default createStyleSheet({* Style for the {@code Icon} element in a row.*/deviceIcon: {+ color: ColorPalette.white,fontSize: 24},@@ -37,6 +31,7 @@ export default createStyleSheet({* Style for the {@code Text} element in a row.*/deviceText: {+ color: ColorPalette.white,fontSize: 16,marginLeft: 32},diff --git a/react/features/toolbox/components/native/styles.js b/react/features/toolbox/components/native/styles.jsindex ea6433fa32..1fca6c61e5 100644--- a/react/features/toolbox/components/native/styles.js+++ b/react/features/toolbox/components/native/styles.js@@ -176,5 +176,5 @@ export const overflowMenuItemStyles = {iconStyle: overflowMenuStyles.icon,labelStyle: overflowMenuStyles.label,style: overflowMenuStyles.container,- underlayColor: '#eee'+ underlayColor: ColorPalette.overflowMenuItemUnderlay};