feat: Add delay before profile and settings click actions for smoother transitions

This commit is contained in:
k1ngsterr1
2026-02-07 09:12:21 +05:00
parent 9febc6e135
commit 15d9804730

View File

@@ -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