Skip to content

Commit

Permalink
fix: chat UI improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisParedes1 committed Dec 7, 2023
1 parent 81f9672 commit 9983ed0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/screens/chat/chat-header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const ChatHeader = ({ chatUser }: { chatUser: UserType }) => {
<View className="relative flex items-center space-x-4">
<View className="relative">
<Image
source={chatUser?.profile_photo_id || 'https://i.pravatar.cc/300'}
source={chatUser?.profile_photo_id || ''}
className="h-10 w-10 rounded-full sm:h-16 sm:w-16"
/>
</View>
Expand Down
2 changes: 1 addition & 1 deletion src/screens/chat/chat-list-body.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const ChatListBody = ({
<Image
className="mr-4 h-12 w-12 rounded-full"
source={{
uri: user?.profile_photo_id || 'https://i.pravatar.cc/100',
uri: user?.profile_photo_id || '',
}}
/>
<View className="flex-1">
Expand Down

0 comments on commit 9983ed0

Please sign in to comment.