From 8a292f3647d38f43262b4af97846f019b105f39c Mon Sep 17 00:00:00 2001 From: Richard Lindhout Date: Sat, 23 Dec 2023 12:03:50 +0100 Subject: [PATCH] fix: workaround for android statusbar --- example/package.json | 1 + example/src/App.tsx | 6 +++--- example/yarn.lock | 5 +++++ src/Date/DatePickerModalStatusBar.tsx | 23 ++++++++++------------- 4 files changed, 19 insertions(+), 16 deletions(-) diff --git a/example/package.json b/example/package.json index 23ddac2c..4a7d3978 100644 --- a/example/package.json +++ b/example/package.json @@ -14,6 +14,7 @@ "dependencies": { "expo": "^49.0.11", "expo-splash-screen": "~0.20.5", + "expo-status-bar": "~1.6.0", "react": "18.2.0", "react-dom": "18.2.0", "react-native": "0.72.6", diff --git a/example/src/App.tsx b/example/src/App.tsx index 1d2e5bd9..34f2bb94 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -192,9 +192,9 @@ function App({ return ( <> - {!disableStatusBar && ( - - )} {!disableSafeTop && !statusBarOnTopOfBackdrop && ( )} + {!disableStatusBar && ( + + )} ) }