Browse Source

show bottom navigation in pvv2

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

1
app/src/main/java/awais/instagrabber/activities/MainActivity.java

@ -412,6 +412,7 @@ public class MainActivity extends BaseLanguageActivity implements FragmentManage
showBottomViewDestinations = currentTabs.stream()
.map(Tab::getStartDestinationFragmentId)
.collect(Collectors.toList());
showBottomViewDestinations.add(R.id.postViewFragment);
if (setDefaultTabFromSettings) {
setSelectedTab(currentTabs);
} else {

1
app/src/main/res/layout/dialog_post_view.xml

@ -5,6 +5,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?colorSurface"
android:paddingBottom="?attr/actionBarSize"
tools:context=".fragments.PostViewV2Fragment">
<androidx.constraintlayout.widget.ConstraintLayout

Loading…
Cancel
Save