aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2024-04-27 20:00:03 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2024-04-27 20:00:03 +0000
commit065ee9aaa4f74cdb7f2ce5548adddd5d6740a14a (patch)
tree1ceec2d33b70880be4d9752b0dba322e3f7b7fb8 /app
parentbccf455de20c2992d88cbccedb088c569aa60b34 (diff)
downloadinfinity-for-reddit-065ee9aaa4f74cdb7f2ce5548adddd5d6740a14a.tar
infinity-for-reddit-065ee9aaa4f74cdb7f2ce5548adddd5d6740a14a.tar.gz
infinity-for-reddit-065ee9aaa4f74cdb7f2ce5548adddd5d6740a14a.tar.bz2
infinity-for-reddit-065ee9aaa4f74cdb7f2ce5548adddd5d6740a14a.tar.lz
infinity-for-reddit-065ee9aaa4f74cdb7f2ce5548adddd5d6740a14a.tar.xz
infinity-for-reddit-065ee9aaa4f74cdb7f2ce5548adddd5d6740a14a.tar.zst
infinity-for-reddit-065ee9aaa4f74cdb7f2ce5548adddd5d6740a14a.zip
Minor bugs fixed.
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/activities/CustomThemeListingActivity.java3
-rw-r--r--app/src/main/res/layout/activity_account_saved_thing.xml3
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