Small change in README

Signed-off-by: Balazs Toldi <balazs@toldi.eu>
This commit is contained in:
Balazs Toldi 2023-07-26 10:29:05 +02:00
parent 2c6cc3e3d5
commit 7f74877fd8
No known key found for this signature in database
GPG Key ID: 6C7D440036F99D58
3 changed files with 3 additions and 15 deletions

View File

@ -42,7 +42,7 @@ LemmInfinity is currently in the early stages of development. Expect many unfini
- [x] Functionality for post upvotes/downvotes - [x] Functionality for post upvotes/downvotes
- [x] Functionality to browse comments - [x] Functionality to browse comments
- [ ] Capability for creating a new post - [ ] Capability for creating a new post
- [ ] Ability to create comments - [x] Ability to create comments
- [ ] Elimination of code/string references specific to Reddit - [ ] Elimination of code/string references specific to Reddit
- [ ] Incorporation of private messaging feature - [ ] Incorporation of private messaging feature
- [ ] Feature for saving posts - [ ] Feature for saving posts

View File

@ -71,6 +71,7 @@ import javax.inject.Named;
import butterknife.BindView; import butterknife.BindView;
import butterknife.ButterKnife; import butterknife.ButterKnife;
import eu.toldi.infinityforlemmy.ActivityToolbarInterface; import eu.toldi.infinityforlemmy.ActivityToolbarInterface;
import eu.toldi.infinityforlemmy.FetchMyInfo;
import eu.toldi.infinityforlemmy.FetchSubscribedThing; import eu.toldi.infinityforlemmy.FetchSubscribedThing;
import eu.toldi.infinityforlemmy.Infinity; import eu.toldi.infinityforlemmy.Infinity;
import eu.toldi.infinityforlemmy.MarkPostAsReadInterface; import eu.toldi.infinityforlemmy.MarkPostAsReadInterface;
@ -1051,7 +1052,7 @@ public class MainActivity extends BaseActivity implements SortTypeSelectionCallb
private void loadUserData() { private void loadUserData() {
if (!mFetchUserInfoSuccess) { if (!mFetchUserInfoSuccess) {
FetchUserData.fetchUserData(mRedditDataRoomDatabase, mOauthRetrofit, mAccessToken, FetchUserData.fetchUserData(mRedditDataRoomDatabase, mRetrofit.getRetrofit(), mAccessToken,
mAccountName, new FetchUserData.FetchUserDataListener() { mAccountName, new FetchUserData.FetchUserDataListener() {
@Override @Override
public void onFetchUserDataSuccess(UserData userData, int inboxCount) { public void onFetchUserDataSuccess(UserData userData, int inboxCount) {
@ -1068,19 +1069,6 @@ public class MainActivity extends BaseActivity implements SortTypeSelectionCallb
mFetchUserInfoSuccess = false; mFetchUserInfoSuccess = false;
} }
}); });
/*FetchMyInfo.fetchAccountInfo(mOauthRetrofit, mRedditDataRoomDatabase, mAccessToken,
new FetchMyInfo.FetchMyInfoListener() {
@Override
public void onFetchMyInfoSuccess(String name, String profileImageUrl, String bannerImageUrl, int karma) {
mAccountName = name;
mFetchUserInfoSuccess = true;
}
@Override
public void onFetchMyInfoFailed(boolean parseFailed) {
mFetchUserInfoSuccess = false;
}
});*/
} }
} }

BIN
signed.apk.idsig Normal file

Binary file not shown.