Clean up stuff
This commit is contained in:
@ -134,11 +134,13 @@ const ProfileScreen = () => {
|
||||
onChangeText={(text) => setProfile(prev => ({ ...prev, full_name: text }))}
|
||||
placeholder="Enter your full name"
|
||||
style={styles.input}
|
||||
fontSize={20}
|
||||
editable={!updating}
|
||||
autoCapitalize='words'
|
||||
textContentType='name'
|
||||
maxLength={50}
|
||||
returnKeyType='done'
|
||||
secureTextEntry={false}
|
||||
/>
|
||||
</ThemedView>
|
||||
|
||||
@ -183,30 +185,33 @@ const styles = StyleSheet.create({
|
||||
},
|
||||
formSection: {
|
||||
marginBottom: 20,
|
||||
width: '100%',
|
||||
alignItems: 'center',
|
||||
},
|
||||
label: {
|
||||
marginBottom: 8,
|
||||
fontSize: 16,
|
||||
fontSize: 18,
|
||||
fontWeight: '500',
|
||||
alignSelf: 'flex-start',
|
||||
marginLeft: '5%',
|
||||
},
|
||||
input: {
|
||||
fontSize: 16,
|
||||
paddingVertical: 12,
|
||||
paddingHorizontal: 10,
|
||||
borderRadius: 8,
|
||||
marginBottom: 20,
|
||||
width: '100%',
|
||||
},
|
||||
disabledInput: {
|
||||
opacity: 0.7,
|
||||
},
|
||||
saveButton: {
|
||||
borderRadius: 8,
|
||||
alignItems: 'center',
|
||||
marginTop: 20,
|
||||
marginBottom: 10,
|
||||
alignItems: 'center',
|
||||
},
|
||||
logoutButton: {
|
||||
marginTop: 30,
|
||||
marginTop: 10,
|
||||
borderRadius: 8,
|
||||
alignItems: 'center',
|
||||
},
|
||||
|
Reference in New Issue
Block a user