Skip to content

Commit

Permalink
Fix empty messages screen
Browse files Browse the repository at this point in the history
  • Loading branch information
abhay-raizada committed Jan 7, 2025
1 parent 7924b1b commit 806ba98
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/screens/nip17-chat/messages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,9 @@ export const MessagesScreen: React.FC<MessagesScreenProps> = ({
/>
)}
flatListProps={{
contentContainerStyle: { paddingTop: Platform.OS == "ios" ? 50 : 0 },
contentContainerStyle: {
paddingTop: messages.size ? (Platform.OS == "ios" ? 50 : 0) : 100,
},
}}
theme={{
...defaultTheme,
Expand Down

0 comments on commit 806ba98

Please sign in to comment.