mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2025-12-31 19:17:54 -05:00
We were using the SplashScreen incorrectly. While it isn't consistently documented, I managed to find a small note on https://developer.android.com/reference/kotlin/androidx/core/splashscreen/SplashScreen#usage-of-the-core-splashscreen-library: which states that installSplashScreen has to be called BEFORE onCreate. Doing this fixing some theming bugs and allows deleting a hacky and buggy workaround.