feat: Update typing indicator color to a custom blue for improved visibility
This commit is contained in:
@@ -1909,6 +1909,7 @@ private fun MessageInputBar(
|
|||||||
@Composable
|
@Composable
|
||||||
fun TypingIndicator(isDarkTheme: Boolean) {
|
fun TypingIndicator(isDarkTheme: Boolean) {
|
||||||
val infiniteTransition = rememberInfiniteTransition(label = "typing")
|
val infiniteTransition = rememberInfiniteTransition(label = "typing")
|
||||||
|
val typingColor = Color(0xFF54A9EB) // Голубой цвет
|
||||||
|
|
||||||
Row(
|
Row(
|
||||||
verticalAlignment = Alignment.CenterVertically,
|
verticalAlignment = Alignment.CenterVertically,
|
||||||
@@ -1917,7 +1918,7 @@ fun TypingIndicator(isDarkTheme: Boolean) {
|
|||||||
Text(
|
Text(
|
||||||
text = "typing",
|
text = "typing",
|
||||||
fontSize = 13.sp,
|
fontSize = 13.sp,
|
||||||
color = Color(0xFF38B24D) // Зелёный цвет как в Telegram
|
color = typingColor
|
||||||
)
|
)
|
||||||
|
|
||||||
// 3 анимированные точки
|
// 3 анимированные точки
|
||||||
@@ -1939,7 +1940,7 @@ fun TypingIndicator(isDarkTheme: Boolean) {
|
|||||||
Text(
|
Text(
|
||||||
text = ".",
|
text = ".",
|
||||||
fontSize = 13.sp,
|
fontSize = 13.sp,
|
||||||
color = Color(0xFF38B24D),
|
color = typingColor,
|
||||||
modifier = Modifier.offset(y = offsetY.dp)
|
modifier = Modifier.offset(y = offsetY.dp)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user