From 446eab20edaa1b70b0ed9e7012cb03c022ebd441 Mon Sep 17 00:00:00 2001 From: Kamal Joshi Date: Sun, 29 Sep 2024 23:02:02 +0530 Subject: [PATCH] fix issues because of smaller screen height --- .gitignore | 3 +- App.js | 20 +++++++----- components/ActionButton.js | 32 ++++++++----------- components/ColorDetails.js | 2 +- components/FloatingActionButton.js | 2 +- components/GridActionButton.js | 3 +- screens/PaletteViewScreen.js | 49 +++++++++++++++--------------- 7 files changed, 55 insertions(+), 56 deletions(-) diff --git a/.gitignore b/.gitignore index f7532d7d..d88c9bc4 100644 --- a/.gitignore +++ b/.gitignore @@ -72,4 +72,5 @@ localnotes.txt .yarn/cache ios/*.cer ios/croma.app.*.zip -.yarn/install-state.gz \ No newline at end of file +.yarn/install-state.gz +ios/Pods \ No newline at end of file diff --git a/App.js b/App.js index 1175fbb7..f56f0e7a 100644 --- a/App.js +++ b/App.js @@ -4,6 +4,8 @@ import ApplicationRoot from './ApplicationRoot'; import { withIAPContext } from 'react-native-iap'; import useUserData from './hooks/useUserData'; import Colors from './constants/Styles'; +import { SafeAreaProvider } from 'react-native-safe-area-context'; + const App = () => { const { loadUserData } = useUserData(); @@ -14,14 +16,16 @@ const App = () => { return ( <> -