mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-04-03 23:31:48 -04: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.