mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Bump packages
This commit is contained in:
@ -4,7 +4,6 @@ import { useTheme } from '@utils/styles/ThemeManager'
|
||||
import React, { RefObject } from 'react'
|
||||
import { AccessibilityInfo } from 'react-native'
|
||||
import FlashMessage, { MessageType, showMessage } from 'react-native-flash-message'
|
||||
import { useSafeAreaInsets } from 'react-native-safe-area-context'
|
||||
import haptics from './haptics'
|
||||
|
||||
const displayMessage = ({
|
||||
@ -53,7 +52,6 @@ const displayMessage = ({
|
||||
|
||||
const Message = React.forwardRef<FlashMessage>((_, ref) => {
|
||||
const { colors, theme } = useTheme()
|
||||
const insets = useSafeAreaInsets()
|
||||
|
||||
enum iconMapping {
|
||||
success = 'CheckCircle',
|
||||
@ -96,8 +94,7 @@ const Message = React.forwardRef<FlashMessage>((_, ref) => {
|
||||
shadowOffset: { width: 0, height: 0 },
|
||||
shadowOpacity: theme === 'light' ? 0.16 : 0.24,
|
||||
shadowRadius: 4,
|
||||
paddingRight: StyleConstants.Spacing.M * 2,
|
||||
marginTop: ref ? undefined : insets.top
|
||||
paddingRight: StyleConstants.Spacing.M * 2
|
||||
}}
|
||||
titleStyle={{
|
||||
color: colors.primaryDefault,
|
||||
|
Reference in New Issue
Block a user