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 = {
|
||||
scope.launch {
|
||||
drawerState.close()
|
||||
}
|
||||
kotlinx.coroutines.delay(150)
|
||||
onProfileClick()
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
// 📖 Saved Messages
|
||||
@@ -589,9 +590,10 @@ android.util.Log.d("ChatsListScreen", "✅ Total LaunchedEffect: ${System.curren
|
||||
onClick = {
|
||||
scope.launch {
|
||||
drawerState.close()
|
||||
}
|
||||
kotlinx.coroutines.delay(150)
|
||||
onSettingsClick()
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
// 🌓 Theme Toggle
|
||||
|
||||
Reference in New Issue
Block a user