From 463f8e6bac4b2e4f6c1dd6a3a7de30a26783885f Mon Sep 17 00:00:00 2001 From: Maarten Date: Mon, 12 Aug 2024 12:52:37 +0200 Subject: [PATCH] Remove flickering when closing a modal --- app/(tabs)/explore.tsx | 2 +- lib/components/EditModal.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/(tabs)/explore.tsx b/app/(tabs)/explore.tsx index a399a53..9d49c52 100644 --- a/app/(tabs)/explore.tsx +++ b/app/(tabs)/explore.tsx @@ -132,7 +132,7 @@ export default function ExploreScreen() { - + {activeCategory?.name} diff --git a/lib/components/EditModal.tsx b/lib/components/EditModal.tsx index c108c07..dde469c 100644 --- a/lib/components/EditModal.tsx +++ b/lib/components/EditModal.tsx @@ -52,7 +52,7 @@ const CustomModal: React.FC = ({ title, visible, onClose, onSave }; return ( - + {title ? title : 'Pas je gegevens aan:'}