import React, {memo} from 'react'; import {StyleSheet, View} from 'react-native'; import Image from './image'; import useColors from '@/hooks/useColors'; import Theme from '@/core/theme'; function PageBackground() { const theme = Theme.useTheme(); const background = Theme.useBackground(); const colors = useColors(); return ( <> {!theme.id.startsWith('p-') && background?.url ? ( ) : null} ); } export default memo(PageBackground, () => true); const style = StyleSheet.create({ wrapper: { position: 'absolute', top: 0, left: 0, right: 0, bottom: 0, width: '100%', height: '100%', }, });