feat: implement safety screen with swipe back functionality in MainScreen

This commit is contained in:
2026-02-14 00:38:08 +05:00
parent a46968cfff
commit 07800d13a7
2 changed files with 18 additions and 18 deletions

View File

@@ -583,7 +583,7 @@ fun ProfileScreen(
// Snap вызывается в onPreFling — СРАЗУ при отпускании пальца
// (как Telegram ACTION_UP → smoothScrollBy)
// ═══════════════════════════════════════════════════════════════
val nestedScrollConnection = remember {
val nestedScrollConnection = remember(hasAvatar) {
object : NestedScrollConnection {
override fun onPreScroll(available: Offset, source: NestedScrollSource): Offset {
val delta = available.y