This commit is contained in:
Austin Huang 2021-06-06 14:49:04 -04:00
parent 696a8c9c61
commit 5e631749b3
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F
2 changed files with 5 additions and 1 deletions

View File

@ -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 {

View File

@ -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" />