aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/activities/CustomThemeListingActivity.java3
1 files changed, 1 insertions, 2 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();