feat: Add delay before profile and settings click actions for smoother transitions
This commit is contained in:
@@ -554,8 +554,9 @@ android.util.Log.d("ChatsListScreen", "✅ Total LaunchedEffect: ${System.curren
|
||||
onClick = {
|
||||
scope.launch {
|
||||
drawerState.close()
|
||||
kotlinx.coroutines.delay(150)
|
||||
onProfileClick()
|
||||
}
|
||||
onProfileClick()
|
||||
}
|
||||
)
|
||||
|
||||
@@ -589,8 +590,9 @@ android.util.Log.d("ChatsListScreen", "✅ Total LaunchedEffect: ${System.curren
|
||||
onClick = {
|
||||
scope.launch {
|
||||
drawerState.close()
|
||||
kotlinx.coroutines.delay(150)
|
||||
onSettingsClick()
|
||||
}
|
||||
onSettingsClick()
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user