mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-12-27 19:38:22 +01:00
Fix saved comments not shown when clicking Saved option in the bottom navigation bar.
This commit is contained in:
parent
da708748ba
commit
97dcc263e3
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user