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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user