From 806ba983b8d5f002229f9247726ebb6a7b7eb062 Mon Sep 17 00:00:00 2001 From: abhay-raizada Date: Tue, 7 Jan 2025 20:18:46 +0530 Subject: [PATCH] Fix empty messages screen --- app/screens/nip17-chat/messages.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/screens/nip17-chat/messages.tsx b/app/screens/nip17-chat/messages.tsx index 0b7372f3f4..b4fbedc8fe 100644 --- a/app/screens/nip17-chat/messages.tsx +++ b/app/screens/nip17-chat/messages.tsx @@ -275,7 +275,9 @@ export const MessagesScreen: React.FC = ({ /> )} flatListProps={{ - contentContainerStyle: { paddingTop: Platform.OS == "ios" ? 50 : 0 }, + contentContainerStyle: { + paddingTop: messages.size ? (Platform.OS == "ios" ? 50 : 0) : 100, + }, }} theme={{ ...defaultTheme,