Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Remove Splash Screen#383

Merged
dessalines merged 1 commit into
LemmyNet:mainfrom
oscarnylander:remove-splash-screen
Jun 4, 2023
Merged

Remove Splash Screen#383
dessalines merged 1 commit into
LemmyNet:mainfrom
oscarnylander:remove-splash-screen

Conversation

@oscarnylander

Copy link
Copy Markdown
Contributor

New default route is now home, which the splash screen used to navigate to automatically.

Motivation:

There's a bug causing the splash screen to relaunch when pressing the back button (#382). Removing the splash screen remedies this issue.

There's some cosmetic loss in that the current splash screen never shows any more, and some performance benefit in that users no longer need to wait 0.7 seconds before the app content shows.

The cosmetic benefits of a splash screen can be regained by implementing the SplashScreen-API: https://developer.android.com/develop/ui/views/launch/splash-screen

@oscarnylander oscarnylander requested a review from dessalines as a code owner June 3, 2023 08:06

@dessalines dessalines left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thx!

Run ./gradlew formatKotlin and push that.

New default route is now `home`, which the splash screen used to navigate to automatically.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants