1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-14 10:47:30 +00:00
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()) .collect(Collectors.toList())
showBottomViewDestinations = currentTabs.asSequence().map { showBottomViewDestinations = currentTabs.asSequence().map {
it.startDestinationFragmentId it.startDestinationFragmentId
}.toMutableList().apply { add(R.id.postViewFragment) } }.toMutableList().apply {
add(R.id.postViewFragment)
add(R.id.favoritesFragment)
}
if (setDefaultTabFromSettings) { if (setDefaultTabFromSettings) {
setSelectedTab(currentTabs) setSelectedTab(currentTabs)
} else { } else {

View File

@ -4,4 +4,5 @@
android:id="@+id/favorite_list" android:id="@+id/favorite_list"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:paddingBottom="?attr/actionBarSize"
tools:listitem="@layout/item_search_result" /> tools:listitem="@layout/item_search_result" />