From 5e631749b387b682fd6c9c6161f3eee64c143dd4 Mon Sep 17 00:00:00 2001 From: Austin Huang Date: Sun, 6 Jun 2021 14:49:04 -0400 Subject: [PATCH] close #1384 --- .../main/java/awais/instagrabber/activities/MainActivity.kt | 5 ++++- app/src/main/res/layout/fragment_favorites.xml | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/awais/instagrabber/activities/MainActivity.kt b/app/src/main/java/awais/instagrabber/activities/MainActivity.kt index 1c185133..f7490120 100644 --- a/app/src/main/java/awais/instagrabber/activities/MainActivity.kt +++ b/app/src/main/java/awais/instagrabber/activities/MainActivity.kt @@ -376,7 +376,10 @@ class MainActivity : BaseLanguageActivity(), FragmentManager.OnBackStackChangedL .collect(Collectors.toList()) showBottomViewDestinations = currentTabs.asSequence().map { it.startDestinationFragmentId - }.toMutableList().apply { add(R.id.postViewFragment) } + }.toMutableList().apply { + add(R.id.postViewFragment) + add(R.id.favoritesFragment) + } if (setDefaultTabFromSettings) { setSelectedTab(currentTabs) } else { diff --git a/app/src/main/res/layout/fragment_favorites.xml b/app/src/main/res/layout/fragment_favorites.xml index d437e6e7..fa45a0ce 100644 --- a/app/src/main/res/layout/fragment_favorites.xml +++ b/app/src/main/res/layout/fragment_favorites.xml @@ -4,4 +4,5 @@ android:id="@+id/favorite_list" android:layout_width="match_parent" android:layout_height="match_parent" + android:paddingBottom="?attr/actionBarSize" tools:listitem="@layout/item_search_result" /> \ No newline at end of file