screen logout fix TP-28260 (#388)
This commit is contained in:
committed by
GitHub Enterprise
parent
8a65543ea5
commit
dc38fc0c07
@@ -84,7 +84,7 @@ const Profile: React.FC = () => {
|
||||
<View style={GenericStyles.fill}>
|
||||
<NavigationHeader title={name} subTitle={phoneNumber} showAvatarIcon />
|
||||
<ScrollView>
|
||||
<View style={[GenericStyles.p16, GenericStyles.mt8]}>
|
||||
<View style={[GenericStyles.ph16, GenericStyles.pt16, GenericStyles.whiteBackground]}>
|
||||
<View style={[GenericStyles.row, GenericStyles.alignCenter]}>
|
||||
<View style={[GenericStyles.ml4, GenericStyles.mr8]}>
|
||||
<GroupIcon />
|
||||
@@ -104,18 +104,18 @@ const Profile: React.FC = () => {
|
||||
style={[
|
||||
GenericStyles.w100,
|
||||
GenericStyles.br8,
|
||||
GenericStyles.mt8,
|
||||
GenericStyles.mb8,
|
||||
GenericStyles.mt6,
|
||||
GenericStyles.mb12,
|
||||
GenericStyles.whiteBackground,
|
||||
]}
|
||||
onPress={handleViewAllCases}
|
||||
/>
|
||||
) : null}
|
||||
</View>
|
||||
<View style={styles.logoutContainer}>
|
||||
<View style={[styles.logoutContainer, GenericStyles.whiteBackground]}>
|
||||
<TouchableOpacity
|
||||
onPress={handleLogout}
|
||||
style={[GenericStyles.row, GenericStyles.alignCenter]}
|
||||
style={[GenericStyles.row, GenericStyles.centerAligned, GenericStyles.fill]}
|
||||
>
|
||||
<LogoutIcon />
|
||||
<Text style={styles.logoutText}>Logout</Text>
|
||||
@@ -148,6 +148,7 @@ const styles = StyleSheet.create({
|
||||
logoutContainer: {
|
||||
paddingVertical: 16,
|
||||
paddingHorizontal: 20,
|
||||
marginTop: 16,
|
||||
},
|
||||
logoutText: {
|
||||
marginLeft: 6,
|
||||
|
||||
Reference in New Issue
Block a user