Refactor Chat Detail Screen components and models for better organization
- Added reusable UI components for the Chat Detail Screen in ChatDetailComponents.kt, including DateHeader, TypingIndicator, MessageBubble, and more. - Introduced MessageInputBar in ChatDetailInput.kt to handle message input and emoji picker functionality. - Created data models for chat messages and replies in ChatDetailModels.kt, including ChatMessage and ReplyData. - Implemented utility functions for chat details in ChatDetailUtils.kt, such as date formatting and avatar color generation.
This commit is contained in:
@@ -687,7 +687,6 @@ fun MainScreen(
|
||||
user = selectedUser!!,
|
||||
currentUserPublicKey = accountPublicKey,
|
||||
currentUserPrivateKey = accountPrivateKey,
|
||||
isDarkTheme = isDarkTheme,
|
||||
onBack = { selectedUser = null },
|
||||
onUserProfileClick = { user ->
|
||||
// Открываем профиль другого пользователя
|
||||
|
||||
Reference in New Issue
Block a user