Using SplashScreen API's setKeepOnCondition while selecting default destination
In my MainActivity I need to read some DataStore values in order to decide if I should show the LoginScreen or the Main screen, so I enabled the splashscreen before calling onCreate(). I then use a runBlocking to fetch the values and set the startDestination as you can see below. I would expect the KeepOnScreenCondition to show the splash while the runblocking is setting the destination. However, it still seems to go away early enough where the LoginScreen is shown first (really shortly) and...