Fix issue with loading subscriptions on the Main activity

Signed-off-by: Balazs Toldi <balazs@toldi.eu>
This commit is contained in:
Balazs Toldi 2023-07-26 09:20:54 +02:00
parent d4d533c4f0
commit 2c6cc3e3d5
No known key found for this signature in database
GPG Key ID: 6C7D440036F99D58

View File

@ -1022,7 +1022,7 @@ public class MainActivity extends BaseActivity implements SortTypeSelectionCallb
private void loadSubscriptions() { private void loadSubscriptions() {
if (mAccessToken != null && !mFetchSubscriptionsSuccess) { if (mAccessToken != null && !mFetchSubscriptionsSuccess) {
FetchSubscribedThing.fetchSubscribedThing(mRetrofit.getRetrofit(), mAccessToken, mAccountName, null, FetchSubscribedThing.fetchSubscribedThing(mRetrofit.getRetrofit(), mAccessToken, mAccountQualifiedName, null,
new ArrayList<>(), new ArrayList<>(), new ArrayList<>(), new ArrayList<>(),
new ArrayList<>(), new ArrayList<>(),
new FetchSubscribedThing.FetchSubscribedThingListener() { new FetchSubscribedThing.FetchSubscribedThingListener() {
@ -1034,7 +1034,7 @@ public class MainActivity extends BaseActivity implements SortTypeSelectionCallb
mExecutor, mExecutor,
new Handler(), new Handler(),
mRedditDataRoomDatabase, mRedditDataRoomDatabase,
mAccountName, mAccountQualifiedName,
subscribedSubredditData, subscribedSubredditData,
subscribedUserData, subscribedUserData,
subredditData, subredditData,