How to Prevent CircularProgressIndicator from freezing during Authentication in Kotlin Compose?
I have a Kotlin Compose app that allows users to authenticate with Facebook and Google. During the login process, a CircularProgressIndicator is displayed and spins until the user’s account creation and login are completed. However, the CircularProgressIndicator freezes for a few seconds, it looks like the app is blocked. I suspect this is due to thread management issues, as the login process runs on a separate thread.