Browse Source

close #1384

renovate/org.robolectric-robolectric-4.x
Austin Huang 4 years ago
parent
commit
5e631749b3
No known key found for this signature in database GPG Key ID: 84C23AA04587A91F
  1. 5
      app/src/main/java/awais/instagrabber/activities/MainActivity.kt
  2. 1
      app/src/main/res/layout/fragment_favorites.xml

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

1
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" />
Loading…
Cancel
Save