diff options
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/activities/CustomThemeListingActivity.java | 3 | ||||
-rw-r--r-- | app/src/main/res/layout/activity_account_saved_thing.xml | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/CustomThemeListingActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/CustomThemeListingActivity.java index 9ddbeffb..a106fe8d 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/CustomThemeListingActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/CustomThemeListingActivity.java @@ -362,8 +362,7 @@ public class CustomThemeListingActivity extends BaseActivity implements @Override public Fragment createFragment(int position) { if (position == 0) { - CustomThemeListingFragment fragment = new CustomThemeListingFragment(); - return fragment; + return new CustomThemeListingFragment(); } CustomThemeListingFragment fragment = new CustomThemeListingFragment(); Bundle bundle = new Bundle(); diff --git a/app/src/main/res/layout/activity_account_saved_thing.xml b/app/src/main/res/layout/activity_account_saved_thing.xml index 5687b205..f6660c4b 100644 --- a/app/src/main/res/layout/activity_account_saved_thing.xml +++ b/app/src/main/res/layout/activity_account_saved_thing.xml @@ -50,6 +50,7 @@ <androidx.viewpager2.widget.ViewPager2 android:id="@+id/account_saved_thing_view_pager_2" android:layout_width="match_parent" - android:layout_height="match_parent" /> + android:layout_height="match_parent" + app:layout_behavior="@string/appbar_scrolling_view_behavior" /> </androidx.coordinatorlayout.widget.CoordinatorLayout>
\ No newline at end of file |