feat: Add delay before profile and settings click actions for smoother transitions
This commit is contained in:
@@ -554,9 +554,10 @@ 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()
|
||||||
}
|
}
|
||||||
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
// 📖 Saved Messages
|
// 📖 Saved Messages
|
||||||
@@ -589,9 +590,10 @@ 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()
|
||||||
}
|
}
|
||||||
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
// 🌓 Theme Toggle
|
// 🌓 Theme Toggle
|
||||||
|
|||||||
Reference in New Issue
Block a user