Minor bugs fixed.

This commit is contained in:
Docile-Alligator
2024-04-27 16:00:03 -04:00
parent bccf455de2
commit 065ee9aaa4
2 changed files with 3 additions and 3 deletions

View File

@ -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();

View File

@ -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>