From 065ee9aaa4f74cdb7f2ce5548adddd5d6740a14a Mon Sep 17 00:00:00 2001 From: Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> Date: Sat, 27 Apr 2024 16:00:03 -0400 Subject: Minor bugs fixed. --- .../infinityforreddit/activities/CustomThemeListingActivity.java | 3 +-- app/src/main/res/layout/activity_account_saved_thing.xml | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'app/src/main') 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 @@ + android:layout_height="match_parent" + app:layout_behavior="@string/appbar_scrolling_view_behavior" /> \ No newline at end of file -- cgit v1.2.3