From 9a6d0dc7fe326e8a6a27123fccf599d424da906b Mon Sep 17 00:00:00 2001 From: minibits-cash Date: Fri, 27 Jun 2025 02:56:09 +0200 Subject: [PATCH] Remove backdrop from bottom modal --- dist/BUNDLE_ID | 2 +- src/components/BottomModal.tsx | 37 +++++++++++++++++----------------- src/components/Header.tsx | 6 ++---- src/components/Loading.tsx | 4 +--- 4 files changed, 23 insertions(+), 26 deletions(-) diff --git a/dist/BUNDLE_ID b/dist/BUNDLE_ID index 55d5f96e..1179a59b 100644 --- a/dist/BUNDLE_ID +++ b/dist/BUNDLE_ID @@ -1 +1 @@ -0197ae95-6c7a-78e9-96ad-cac346b60a8f \ No newline at end of file +0197aee1-212f-7575-943f-45b6c5bcb27a \ No newline at end of file diff --git a/src/components/BottomModal.tsx b/src/components/BottomModal.tsx index 89b001ce..08265167 100644 --- a/src/components/BottomModal.tsx +++ b/src/components/BottomModal.tsx @@ -113,7 +113,7 @@ export function BottomModal(props: ModalProps) { isVisible = true, onBackdropPress, onBackButtonPress, - backdropOpacity = 0.4, // if changed, statusBarOnModalOpen theme needs to be adjusted + backdropOpacity = 0, // if changed, statusBarOnModalOpen theme needs to be adjusted content, contentTx, contentTxOptions, @@ -164,30 +164,31 @@ export function BottomModal(props: ModalProps) { ] // const statusBarOnModalOpen = useThemeColor('statusBarOnModalOpen') - const keyboard = useAnimatedKeyboard() - log.trace({keyboard}) + // const keyboard = useAnimatedKeyboard() + //log.trace({keyboard}) return ( - - {/**/} - + + diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 39d75d69..1aaa6bc1 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -158,7 +158,7 @@ interface HeaderActionProps { function FocusAwareStatusBar(props: StatusBarProps) { const isFocused = useIsFocused(); - return isFocused ? : null; + return isFocused ? : null; } /** @@ -205,9 +205,7 @@ export function Header(props: HeaderProps) { return ( - diff --git a/src/components/Loading.tsx b/src/components/Loading.tsx index ce5a4c3d..ec779abc 100644 --- a/src/components/Loading.tsx +++ b/src/components/Loading.tsx @@ -1,15 +1,13 @@ import * as React from 'react' -import { StyleSheet, View, ActivityIndicator, ViewProps, TextStyle, ColorValue, ViewStyle, StatusBar } from 'react-native' +import { StyleSheet, View, ActivityIndicator, ViewProps, TextStyle, ColorValue, ViewStyle } from 'react-native' import { useThemeColor, colors } from '../theme' import { Text } from './Text' import { spacing } from '../theme' export function Loading(props: ViewProps & { statusMessage?: string, textStyle?: TextStyle, shiftedUp?: boolean }) { - //const statusBarOnModalOpen = useThemeColor('statusBarOnLoading') const loadingIndicator = useThemeColor('loadingIndicator') return ( - {/**/} {props.statusMessage && ()}