feat: Rename TelegramInputBar to MessageInputBar and add customizable colors in ChatDetailScreen
This commit is contained in:
@@ -543,8 +543,8 @@ fun ChatDetailScreen(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Telegram-style input bar - exact 1:1 replica
|
// Поле ввода сообщения
|
||||||
TelegramInputBar(
|
MessageInputBar(
|
||||||
value = inputText,
|
value = inputText,
|
||||||
onValueChange = {
|
onValueChange = {
|
||||||
viewModel.updateInputText(it)
|
viewModel.updateInputText(it)
|
||||||
@@ -557,7 +557,10 @@ fun ChatDetailScreen(
|
|||||||
viewModel.sendMessage()
|
viewModel.sendMessage()
|
||||||
ProtocolManager.addLog("📤 Sending message...")
|
ProtocolManager.addLog("📤 Sending message...")
|
||||||
},
|
},
|
||||||
isDarkTheme = isDarkTheme
|
isDarkTheme = isDarkTheme,
|
||||||
|
backgroundColor = inputBackgroundColor,
|
||||||
|
textColor = textColor,
|
||||||
|
placeholderColor = secondaryTextColor
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user