refactor: Remove unnecessary AnimatedVisibility wrapper from top bar in ChatsListScreen
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -498,8 +498,8 @@ private fun ColorCircleItem(
|
||||
}
|
||||
}
|
||||
|
||||
// Галочка с затемнённым фоном
|
||||
if (isSelected) {
|
||||
// Галочка с затемнённым фоном (не для avatar — там уже иконка)
|
||||
if (isSelected && option.id != "avatar") {
|
||||
Box(
|
||||
modifier = Modifier
|
||||
.fillMaxSize()
|
||||
|
||||
Reference in New Issue
Block a user