From 073cf34f10e372759b228a2b7bf9a85be22e9569 Mon Sep 17 00:00:00 2001 From: Otavio Stasiak Date: Wed, 9 Oct 2024 18:03:35 -0300 Subject: [PATCH] minor changes --- app/containers/message/Components/Attachments/Video.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/containers/message/Components/Attachments/Video.tsx b/app/containers/message/Components/Attachments/Video.tsx index c867fe638e..eb10e5fecf 100644 --- a/app/containers/message/Components/Attachments/Video.tsx +++ b/app/containers/message/Components/Attachments/Video.tsx @@ -8,7 +8,6 @@ import I18n from '../../../../i18n'; import { fileDownload, isIOS } from '../../../../lib/methods/helpers'; import EventEmitter from '../../../../lib/methods/helpers/events'; import { useTheme } from '../../../../theme'; -import sharedStyles from '../../../../views/Styles'; import { LISTENER } from '../../../Toast'; import Markdown from '../../../markdown'; import MessageContext from '../../Context'; @@ -19,6 +18,7 @@ import { getThumbnailAsync } from 'expo-video-thumbnails'; import OverlayComponent from '../OverlayComponent'; import FastImage from 'react-native-fast-image'; import { CustomIcon } from '../../../CustomIcon'; +import { themes } from '../../../../lib/constants'; const SUPPORTED_TYPES = ['video/quicktime', 'video/mp4', ...(isIOS ? [] : ['video/3gp', 'video/mkv'])]; const isTypeSupported = (type: string) => SUPPORTED_TYPES.indexOf(type) !== -1; @@ -38,7 +38,7 @@ const styles = StyleSheet.create({ }, playerIcon: { position: 'absolute', - shadowColor: '#000', + shadowColor: themes.light.backdropColor, shadowOpacity: 0.3, shadowOffset: { width: 1, @@ -91,7 +91,7 @@ const Thumbnail = ({ url, encrypted = false }: ThumbnailProps) => { ) : ( <> - + )}