feat: Add delay before profile and settings click actions for smoother transitions

This commit is contained in:
k1ngsterr1
2026-02-07 09:12:21 +05:00
parent 9febc6e135
commit 15d9804730

View File

@@ -554,8 +554,9 @@ android.util.Log.d("ChatsListScreen", "✅ Total LaunchedEffect: ${System.curren
onClick = { onClick = {
scope.launch { scope.launch {
drawerState.close() drawerState.close()
kotlinx.coroutines.delay(150)
onProfileClick()
} }
onProfileClick()
} }
) )
@@ -589,8 +590,9 @@ android.util.Log.d("ChatsListScreen", "✅ Total LaunchedEffect: ${System.curren
onClick = { onClick = {
scope.launch { scope.launch {
drawerState.close() drawerState.close()
kotlinx.coroutines.delay(150)
onSettingsClick()
} }
onSettingsClick()
} }
) )