added notification
This commit is contained in:
@@ -51,11 +51,27 @@ const Branches = (props: BranchesProps) => {
|
||||
navigation.navigate('ListBranches', { branchId: e.id })
|
||||
}
|
||||
>
|
||||
<View>
|
||||
<Text style={styles.title}>{e.name}</Text>
|
||||
<Text style={styles.subtitle}>{e.address}</Text>
|
||||
<View
|
||||
style={{
|
||||
flexDirection: 'row',
|
||||
justifyContent: 'space-between',
|
||||
width: '100%',
|
||||
alignItems: 'center',
|
||||
}}
|
||||
>
|
||||
<View
|
||||
style={{
|
||||
flexDirection: 'column',
|
||||
justifyContent: 'flex-start',
|
||||
width: '80%',
|
||||
alignItems: 'flex-start',
|
||||
}}
|
||||
>
|
||||
<Text style={styles.title}>{e.name}</Text>
|
||||
<Text style={styles.subtitle}>{e.address}</Text>
|
||||
</View>
|
||||
<ArrowRightUnderline color="#28A7E8" />
|
||||
</View>
|
||||
<ArrowRightUnderline color="#28A7E8" />
|
||||
</TouchableOpacity>
|
||||
))}
|
||||
</ScrollView>
|
||||
@@ -89,14 +105,14 @@ const styles = StyleSheet.create({
|
||||
elevation: 1,
|
||||
},
|
||||
title: {
|
||||
fontSize: 18,
|
||||
fontSize: 16,
|
||||
paddingHorizontal: 5,
|
||||
fontWeight: '600',
|
||||
color: '#000',
|
||||
marginBottom: 6,
|
||||
},
|
||||
subtitle: {
|
||||
fontSize: 16,
|
||||
fontSize: 14,
|
||||
paddingHorizontal: 5,
|
||||
fontWeight: '500',
|
||||
color: '#000000B2',
|
||||
|
||||
Reference in New Issue
Block a user