Merge branch '698-add-info-text-to-password-section-in-settings' into 'main'

Resolve "Add info text to Password Section in Settings"

Closes #698

See merge request bloodyhealth/drip!654
This commit is contained in:
bl00dymarie
2024-02-08 09:54:32 +00:00
2 changed files with 14 additions and 3 deletions
+13 -2
View File
@@ -20,11 +20,15 @@ const MenuItem = ({ item, last, navigate }) => {
key={item.label}
onPress={() => navigate(item.componentName)}
>
<View>
<View style={styles.textContainer}>
<AppText style={styles.title}>{t(`${item.label}.name`)}</AppText>
{!!item.label && <AppText>{t(`${item.label}.text`)}</AppText>}
</View>
<AppIcon name="chevron-right" color={Colors.orange} />
<AppIcon
style={styles.chevronContainer}
name="chevron-right"
color={Colors.orange}
/>
</TouchableOpacity>
</Segment>
)
@@ -44,6 +48,13 @@ const styles = StyleSheet.create({
color: Colors.purple,
fontSize: Sizes.subtitle,
},
textContainer: {
flex: 5,
},
chevronContainer: {
textAlign: 'right',
flex: 1,
},
})
export default MenuItem
+1 -1
View File
@@ -122,7 +122,7 @@
},
"password": {
"name": "Password",
"text": ""
"text": "set or edit your password"
},
"reminders": {
"name": "Reminders",