diff --git a/src/screens/Main/ProfileScreen.js b/src/screens/Main/ProfileScreen.js
index c80431c..d4fb429 100644
--- a/src/screens/Main/ProfileScreen.js
+++ b/src/screens/Main/ProfileScreen.js
@@ -82,8 +82,8 @@ const ProfileScreen = () => {
items: [
// { id: 11, title: 'Ulanmak düzgünleri', icon: 'document-text', hasArrow: true },
// { id: 12, title: 'Gizlinlik syýasaty', icon: 'lock-open', hasArrow: true },
- { id: 13, title: 'Programma barada', icon: 'information-circle', value: 'v1.0.0', hasArrow: true },
- { id: 14, title: 'Hasaby poz', icon: 'trash', hasArrow: false, color: COLORS.red },
+ { id: 13, title: 'Programma barada', icon: 'information-circle', value: 'v1.0.0', hasArrow: false },
+ { id: 14, title: 'Hasaby poz', icon: 'trash', hasArrow: false, danger: true },
],
},
];
@@ -106,7 +106,7 @@ const ProfileScreen = () => {
handleSecuritySettings();
break;
case 13: // About App
- Alert.alert('Üns beriň', 'Programma barada maglumatlar açylýar...');
+ // Alert.alert('Üns beriň', 'Programma barada maglumatlar açylýar...');
break;
case 14: // Delete Account
handleDeleteAccount();
@@ -337,16 +337,16 @@ const ProfileScreen = () => {
>
-
+
- {item.title}
+ {item.title}
{item.value && (
- {item.value}
+ {item.value}
)}
{item.hasArrow && (
-
+
)}
@@ -550,6 +550,16 @@ const styles = StyleSheet.create({
link: {
color: COLORS.primary,
},
+ profileItemTitleDanger: {
+ fontSize: 16,
+ color: COLORS.error,
+ fontWeight: 'bold',
+ },
+ profileItemValueDanger: {
+ fontSize: 14,
+ color: COLORS.error,
+ fontWeight: 'bold',
+ },
});
export default ProfileScreen;
\ No newline at end of file