diff --git a/app/src/main/java/awais/instagrabber/activities/MainActivity.kt b/app/src/main/java/awais/instagrabber/activities/MainActivity.kt index dc528ac4..10ac6278 100644 --- a/app/src/main/java/awais/instagrabber/activities/MainActivity.kt +++ b/app/src/main/java/awais/instagrabber/activities/MainActivity.kt @@ -373,7 +373,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