fix: Reduce delay for profile and settings click actions for improved responsiveness

This commit is contained in:
k1ngsterr1
2026-02-07 09:20:25 +05:00
parent 15d9804730
commit 6a2db89538

View File

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