feat: Rename TelegramInputBar to MessageInputBar and add customizable colors in ChatDetailScreen

This commit is contained in:
k1ngsterr1
2026-01-11 06:07:02 +05:00
parent 5bab5a65f6
commit d21bddeb29

View File

@@ -543,8 +543,8 @@ fun ChatDetailScreen(
}
}
// Telegram-style input bar - exact 1:1 replica
TelegramInputBar(
// Поле ввода сообщения
MessageInputBar(
value = inputText,
onValueChange = {
viewModel.updateInputText(it)
@@ -557,7 +557,10 @@ fun ChatDetailScreen(
viewModel.sendMessage()
ProtocolManager.addLog("📤 Sending message...")
},
isDarkTheme = isDarkTheme
isDarkTheme = isDarkTheme,
backgroundColor = inputBackgroundColor,
textColor = textColor,
placeholderColor = secondaryTextColor
)
}
}