|
@@ -87,10 +87,10 @@ const UNMastersList = React.memo(({ type }: { type: string }) => {
|
|
const renderItem = ({ item }: { item: any }) => {
|
|
const renderItem = ({ item }: { item: any }) => {
|
|
const UserItem = ({ user }: { user: Master }) => {
|
|
const UserItem = ({ user }: { user: Master }) => {
|
|
return (
|
|
return (
|
|
- <View style={UNMastersListStyles.wrapper}>
|
|
|
|
|
|
+ <View style={[UNMastersListStyles.wrapper, {}]}>
|
|
<View style={{ gap: 3, marginLeft: 5 }}>
|
|
<View style={{ gap: 3, marginLeft: 5 }}>
|
|
<Text style={UNMastersListStyles.firstAndLastName}>{user.full_name}</Text>
|
|
<Text style={UNMastersListStyles.firstAndLastName}>{user.full_name}</Text>
|
|
- <View style={UNMastersListStyles.wrapper}>
|
|
|
|
|
|
+ <View style={[UNMastersListStyles.wrapper, { marginBottom: 0 }]}>
|
|
<Text style={UNMastersListStyles.descriptionText}>
|
|
<Text style={UNMastersListStyles.descriptionText}>
|
|
Born: {user.born} / Age when done: {user.age} /
|
|
Born: {user.born} / Age when done: {user.age} /
|
|
</Text>
|
|
</Text>
|
|
@@ -105,7 +105,7 @@ const UNMastersList = React.memo(({ type }: { type: string }) => {
|
|
/>
|
|
/>
|
|
) : null}
|
|
) : null}
|
|
</View>
|
|
</View>
|
|
- <View style={UNMastersListStyles.wrapper}>
|
|
|
|
|
|
+ <View style={[UNMastersListStyles.wrapper, { marginBottom: 0 }]}>
|
|
<Text style={UNMastersListStyles.descriptionText}>
|
|
<Text style={UNMastersListStyles.descriptionText}>
|
|
Year / final country: {user.final_year}
|
|
Year / final country: {user.final_year}
|
|
</Text>
|
|
</Text>
|
|
@@ -139,6 +139,7 @@ const UNMastersList = React.memo(({ type }: { type: string }) => {
|
|
</View>
|
|
</View>
|
|
<FlatList
|
|
<FlatList
|
|
contentContainerStyle={{ gap: 10 }}
|
|
contentContainerStyle={{ gap: 10 }}
|
|
|
|
+ style={{ gap: 12 }}
|
|
horizontal={false}
|
|
horizontal={false}
|
|
showsVerticalScrollIndicator={false}
|
|
showsVerticalScrollIndicator={false}
|
|
data={masters}
|
|
data={masters}
|
|
@@ -166,6 +167,7 @@ const UNMastersList = React.memo(({ type }: { type: string }) => {
|
|
</View>
|
|
</View>
|
|
<FlatList
|
|
<FlatList
|
|
contentContainerStyle={{ gap: 10 }}
|
|
contentContainerStyle={{ gap: 10 }}
|
|
|
|
+ style={{ gap: 12 }}
|
|
horizontal={false}
|
|
horizontal={false}
|
|
showsVerticalScrollIndicator={false}
|
|
showsVerticalScrollIndicator={false}
|
|
data={masters}
|
|
data={masters}
|
|
@@ -189,6 +191,7 @@ const UNMastersList = React.memo(({ type }: { type: string }) => {
|
|
return (
|
|
return (
|
|
<FlatList
|
|
<FlatList
|
|
contentContainerStyle={{ gap: 10 }}
|
|
contentContainerStyle={{ gap: 10 }}
|
|
|
|
+ style={{ marginVertical: 8 }}
|
|
horizontal={false}
|
|
horizontal={false}
|
|
data={masters}
|
|
data={masters}
|
|
renderItem={renderItem}
|
|
renderItem={renderItem}
|