Skip to content

Commit

Permalink
Merge pull request #80 from bambu-group-03/hotfixes
Browse files Browse the repository at this point in the history
fix: ui changes
  • Loading branch information
LuisParedes1 committed Nov 16, 2023
2 parents 8a7f001 + bc518b6 commit cccf82d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/screens/profile/profile-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ const ProfileScreenView = ({
</Text>
<View className="mb-2 mt-0 text-xs font-bold uppercase text-slate-400">
<Text className="fas fa-map-marker-alt mr-2 text-slate-400 opacity-75">
userData?.ubication
{userData?.ubication}
</Text>
</View>
</View>
Expand Down
3 changes: 2 additions & 1 deletion src/screens/search/snap-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import axios from 'axios';
import { FlatList, Text } from 'react-native';

import type { Snap } from '@/api';
import { FocusAwareStatusBar, View } from '@/ui';
import { EmptyList, FocusAwareStatusBar, View } from '@/ui';

import { Card } from '../feed/card';
import { useEffect, useState } from 'react';
Expand Down Expand Up @@ -40,6 +40,7 @@ const SnapList = () => {
data={snaps}
renderItem={renderSnap}
keyExtractor={(_, index) => `item-${index}`}
ListEmptyComponent={<EmptyList isLoading={false} />}
/>
</View>
);
Expand Down
3 changes: 2 additions & 1 deletion src/screens/users/user-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useNavigation } from '@react-navigation/native';
import { FlatList } from 'react-native';

import type { UserType } from '@/core/auth/utils';
import { FocusAwareStatusBar } from '@/ui';
import { EmptyList, FocusAwareStatusBar } from '@/ui';

import UserCard from './user-card';

Expand All @@ -28,6 +28,7 @@ const UserList = ({ users }: { users: UserType[] }) => {
data={users}
renderItem={renderItem}
keyExtractor={(item) => item.id}
ListEmptyComponent={<EmptyList isLoading={false} />}
/>
</>
);
Expand Down

0 comments on commit cccf82d

Please sign in to comment.