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:
k1ngsterr1
2026-01-22 04:56:17 +05:00
parent ae8e1b0376
commit 60d4d1e6bc
7 changed files with 1455 additions and 2251 deletions

View File

@@ -687,7 +687,6 @@ fun MainScreen(
user = selectedUser!!,
currentUserPublicKey = accountPublicKey,
currentUserPrivateKey = accountPrivateKey,
isDarkTheme = isDarkTheme,
onBack = { selectedUser = null },
onUserProfileClick = { user ->
// Открываем профиль другого пользователя