refactor: Remove unnecessary AnimatedVisibility wrapper from top bar in ChatsListScreen

This commit is contained in:
k1ngsterr1
2026-02-07 08:33:40 +05:00
parent 71181f49d9
commit 9febc6e135
2 changed files with 2 additions and 21 deletions

View File

@@ -675,24 +675,6 @@ android.util.Log.d("ChatsListScreen", "✅ Total LaunchedEffect: ${System.curren
) {
Scaffold(
topBar = {
AnimatedVisibility(
visible = visible,
enter =
fadeIn(tween(300)) +
expandVertically(
animationSpec =
tween(
300,
easing =
FastOutSlowInEasing
)
),
exit =
fadeOut(tween(200)) +
shrinkVertically(
animationSpec = tween(200)
)
) {
key(isDarkTheme, showRequestsScreen) {
TopAppBar(
navigationIcon = {
@@ -874,7 +856,6 @@ android.util.Log.d("ChatsListScreen", "✅ Total LaunchedEffect: ${System.curren
)
)
}
}
},
floatingActionButton = {
AnimatedVisibility(

View File

@@ -498,8 +498,8 @@ private fun ColorCircleItem(
}
}
// Галочка с затемнённым фоном
if (isSelected) {
// Галочка с затемнённым фоном (не для avatar — там уже иконка)
if (isSelected && option.id != "avatar") {
Box(
modifier = Modifier
.fillMaxSize()