fix: Reduce delay for profile and settings click actions for improved responsiveness
This commit is contained in:
@@ -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()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user