aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2022-08-13 03:35:30 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2022-08-13 03:35:30 +0000
commit97dcc263e309d02d051d394e986442fe46ec6253 (patch)
tree6495534f01f04e0ad428a2fe245fc4fee9f89bf8 /app/src/main
parentda708748ba92453e72c519caa38d9e82c4e5396e (diff)
downloadinfinity-for-reddit-97dcc263e309d02d051d394e986442fe46ec6253.tar
infinity-for-reddit-97dcc263e309d02d051d394e986442fe46ec6253.tar.gz
infinity-for-reddit-97dcc263e309d02d051d394e986442fe46ec6253.tar.bz2
infinity-for-reddit-97dcc263e309d02d051d394e986442fe46ec6253.tar.lz
infinity-for-reddit-97dcc263e309d02d051d394e986442fe46ec6253.tar.xz
infinity-for-reddit-97dcc263e309d02d051d394e986442fe46ec6253.tar.zst
infinity-for-reddit-97dcc263e309d02d051d394e986442fe46ec6253.zip
Fix saved comments not shown when clicking Saved option in the bottom navigation bar.
Diffstat (limited to '')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/activities/MainActivity.java3
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewMultiRedditDetailActivity.java3
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewSubredditDetailActivity.java3
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewUserDetailActivity.java3
4 files changed, 4 insertions, 8 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/MainActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/MainActivity.java
index d4d90784..ebe833a4 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/MainActivity.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/MainActivity.java
@@ -486,8 +486,7 @@ public class MainActivity extends BaseActivity implements SortTypeSelectionCallb
break;
}
case SharedPreferencesUtils.MAIN_ACTIVITY_BOTTOM_APP_BAR_OPTION_SAVED: {
- Intent intent = new Intent(this, AccountPostsActivity.class);
- intent.putExtra(AccountPostsActivity.EXTRA_USER_WHERE, PostPagingSource.USER_WHERE_SAVED);
+ Intent intent = new Intent(MainActivity.this, AccountSavedThingActivity.class);
startActivity(intent);
break;
}
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewMultiRedditDetailActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewMultiRedditDetailActivity.java
index 9e8d4ed0..31c0a19f 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewMultiRedditDetailActivity.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewMultiRedditDetailActivity.java
@@ -504,8 +504,7 @@ public class ViewMultiRedditDetailActivity extends BaseActivity implements SortT
break;
}
case SharedPreferencesUtils.OTHER_ACTIVITIES_BOTTOM_APP_BAR_OPTION_SAVED: {
- Intent intent = new Intent(this, AccountPostsActivity.class);
- intent.putExtra(AccountPostsActivity.EXTRA_USER_WHERE, PostPagingSource.USER_WHERE_SAVED);
+ Intent intent = new Intent(ViewMultiRedditDetailActivity.this, AccountSavedThingActivity.class);
startActivity(intent);
break;
}
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewSubredditDetailActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewSubredditDetailActivity.java
index 48054ceb..af31b76a 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewSubredditDetailActivity.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewSubredditDetailActivity.java
@@ -682,8 +682,7 @@ public class ViewSubredditDetailActivity extends BaseActivity implements SortTyp
break;
}
case SharedPreferencesUtils.OTHER_ACTIVITIES_BOTTOM_APP_BAR_OPTION_SAVED: {
- Intent intent = new Intent(this, AccountPostsActivity.class);
- intent.putExtra(AccountPostsActivity.EXTRA_USER_WHERE, PostPagingSource.USER_WHERE_SAVED);
+ Intent intent = new Intent(ViewSubredditDetailActivity.this, AccountSavedThingActivity.class);
startActivity(intent);
break;
}
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewUserDetailActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewUserDetailActivity.java
index 15b55477..7d533cba 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewUserDetailActivity.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewUserDetailActivity.java
@@ -995,8 +995,7 @@ public class ViewUserDetailActivity extends BaseActivity implements SortTypeSele
break;
}
case SharedPreferencesUtils.OTHER_ACTIVITIES_BOTTOM_APP_BAR_OPTION_SAVED: {
- Intent intent = new Intent(this, AccountPostsActivity.class);
- intent.putExtra(AccountPostsActivity.EXTRA_USER_WHERE, PostPagingSource.USER_WHERE_SAVED);
+ Intent intent = new Intent(ViewUserDetailActivity.this, AccountSavedThingActivity.class);
startActivity(intent);
break;
}