diff options
author | ByteHamster <info@bytehamster.com> | 2019-01-03 13:48:03 +0100 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2019-01-03 13:48:06 +0100 |
commit | a23e3466adfcbe011522d67acef30e4872b92f39 (patch) | |
tree | 2ff6b6f8c9a80a65dc26056c60020bbd7103cbaf | |
parent | 02bf71551bacd65be19ff6fb220e70162c4534da (diff) | |
download | AntennaPod-a23e3466adfcbe011522d67acef30e4872b92f39.zip |
Switched splash screen start
The splash screen was added to prevent seeing the "non-ready" MainActivity.
If the splash is closed before showing MainActivity, the splash does
nothing in most cases, just flashes the screen blue for a few milliseconds.
After that, you see MainActivity just as it was before adding the splash.
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/activity/SplashActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/activity/SplashActivity.java b/app/src/main/java/de/danoeh/antennapod/activity/SplashActivity.java index 727e83320..52102eee1 100644 --- a/app/src/main/java/de/danoeh/antennapod/activity/SplashActivity.java +++ b/app/src/main/java/de/danoeh/antennapod/activity/SplashActivity.java @@ -44,8 +44,8 @@ public class SplashActivity extends AppCompatActivity { .observeOn(AndroidSchedulers.mainThread()) .subscribe(() -> { Intent intent = new Intent(SplashActivity.this, MainActivity.class); - finish(); startActivity(intent); + finish(); }); } } |