feat: Implement Profile Screen with full functionality and navigation

- Added ProfileScreen.kt for user profile management.
- Updated MainActivity.kt to integrate ProfileScreen and manage navigation states.
- Created documentation for Profile Screen implementation, navigation flow, and testing checklist.
- Removed SettingsScreen.kt as part of the refactor.
- Added helper components for profile display and editing.
- Ensured compliance with Material 3 design principles and dark/light theme support.
This commit is contained in:
2026-01-20 04:38:13 +05:00
parent 0c4c636823
commit d78000aa3f
8 changed files with 1568 additions and 558 deletions

View File

@@ -375,12 +375,12 @@ fun ChatsListScreen(
// ═══════════════════════════════════════════════════════════
// 🎨 DRAWER HEADER - Avatar and status
// ═══════════════════════════════════════════════════════════
val headerColor =
if (isDarkTheme) {
Color(0xFF2C5282)
} else {
Color(0xFF4A90D9)
}
val avatarColors =
getAvatarColor(
accountPublicKey,
isDarkTheme
)
val headerColor = avatarColors.backgroundColor
Box(
modifier =
@@ -400,11 +400,6 @@ fun ChatsListScreen(
) {
Column {
// Avatar with border
val avatarColors =
getAvatarColor(
accountPublicKey,
isDarkTheme
)
Box(
modifier =
Modifier.size(72.dp)
@@ -616,7 +611,7 @@ fun ChatsListScreen(
// 📖 Saved Messages
DrawerMenuItemEnhanced(
icon = Icons.Default.Bookmark,
icon = Icons.Outlined.Bookmark,
text = "Saved Messages",
iconColor = menuIconColor,
textColor = textColor,