feat: Enhance ProtocolManager logging and error handling; optimize emoji picker performance

This commit is contained in:
k1ngsterr1
2026-01-13 20:46:46 +05:00
parent 7c911835ea
commit f155c4d36d
4 changed files with 116 additions and 80 deletions

View File

@@ -285,16 +285,16 @@ fun MainScreen(
)
}
// 🔍 Вход в поиск - slide сверху
// 🔍 Вход в поиск - slide справа (как чаты)
isEnteringSearch -> {
slideInVertically(
initialOffsetY = { -it },
slideInHorizontally(
initialOffsetX = { fullWidth -> fullWidth }, // Начинаем за экраном справа
animationSpec = spring(
dampingRatio = Spring.DampingRatioNoBouncy,
stiffness = Spring.StiffnessMediumLow
)
) togetherWith slideOutVertically(
targetOffsetY = { it / 4 },
) togetherWith slideOutHorizontally(
targetOffsetX = { fullWidth -> -fullWidth / 4 }, // Список уходит влево на 25%
animationSpec = spring(
dampingRatio = Spring.DampingRatioNoBouncy,
stiffness = Spring.StiffnessMediumLow
@@ -302,16 +302,16 @@ fun MainScreen(
)
}
// ❌ Выход из поиска
// ❌ Выход из поиска - обратный slide
isExitingSearch -> {
slideInVertically(
initialOffsetY = { it / 4 },
slideInHorizontally(
initialOffsetX = { fullWidth -> -fullWidth / 4 }, // Список возвращается слева
animationSpec = spring(
dampingRatio = Spring.DampingRatioNoBouncy,
stiffness = Spring.StiffnessMedium
)
) togetherWith slideOutVertically(
targetOffsetY = { -it },
) togetherWith slideOutHorizontally(
targetOffsetX = { fullWidth -> fullWidth }, // Поиск уходит за экран вправо
animationSpec = spring(
dampingRatio = Spring.DampingRatioNoBouncy,
stiffness = Spring.StiffnessMedium