summaryrefslogtreecommitdiff
path: root/app/src/main/java/de/danoeh/antennapod
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2019-08-20 18:03:25 +0200
committerByteHamster <info@bytehamster.com>2019-08-20 18:03:41 +0200
commitf099092af017e5bd9ca183dd2d555e38bf8669b9 (patch)
tree7b0ef8f479510f0844400975755452543e6f895d /app/src/main/java/de/danoeh/antennapod
parented63f41401e135f0320d75fe3dc5dd6a953bbf0f (diff)
downloadAntennaPod-f099092af017e5bd9ca183dd2d555e38bf8669b9.zip
Show add feed fragment on first launch
Diffstat (limited to 'app/src/main/java/de/danoeh/antennapod')
-rw-r--r--app/src/main/java/de/danoeh/antennapod/activity/MainActivity.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/activity/MainActivity.java b/app/src/main/java/de/danoeh/antennapod/activity/MainActivity.java
index 102d30bcf..f25b2ff29 100644
--- a/app/src/main/java/de/danoeh/antennapod/activity/MainActivity.java
+++ b/app/src/main/java/de/danoeh/antennapod/activity/MainActivity.java
@@ -233,6 +233,7 @@ public class MainActivity extends CastEnabledActivity implements NavDrawerActivi
private void checkFirstLaunch() {
SharedPreferences prefs = getSharedPreferences(PREF_NAME, MODE_PRIVATE);
if (prefs.getBoolean(PREF_IS_FIRST_LAUNCH, true)) {
+ loadFragment(AddFeedFragment.TAG, null);
new Handler().postDelayed(() -> drawerLayout.openDrawer(navDrawer), 1500);
// for backward compatibility, we only change defaults for fresh installs