diff --git a/README.md b/README.md index df8b223a..1744b7d9 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ LemmInfinity is currently in the early stages of development. Expect many unfini - [x] Functionality for post upvotes/downvotes - [x] Functionality to browse comments - [ ] Capability for creating a new post -- [ ] Ability to create comments +- [x] Ability to create comments - [ ] Elimination of code/string references specific to Reddit - [ ] Incorporation of private messaging feature - [ ] Feature for saving posts diff --git a/app/src/main/java/eu/toldi/infinityforlemmy/activities/MainActivity.java b/app/src/main/java/eu/toldi/infinityforlemmy/activities/MainActivity.java index 8db0c13f..e7184670 100644 --- a/app/src/main/java/eu/toldi/infinityforlemmy/activities/MainActivity.java +++ b/app/src/main/java/eu/toldi/infinityforlemmy/activities/MainActivity.java @@ -71,6 +71,7 @@ import javax.inject.Named; import butterknife.BindView; import butterknife.ButterKnife; import eu.toldi.infinityforlemmy.ActivityToolbarInterface; +import eu.toldi.infinityforlemmy.FetchMyInfo; import eu.toldi.infinityforlemmy.FetchSubscribedThing; import eu.toldi.infinityforlemmy.Infinity; import eu.toldi.infinityforlemmy.MarkPostAsReadInterface; @@ -1051,7 +1052,7 @@ public class MainActivity extends BaseActivity implements SortTypeSelectionCallb private void loadUserData() { if (!mFetchUserInfoSuccess) { - FetchUserData.fetchUserData(mRedditDataRoomDatabase, mOauthRetrofit, mAccessToken, + FetchUserData.fetchUserData(mRedditDataRoomDatabase, mRetrofit.getRetrofit(), mAccessToken, mAccountName, new FetchUserData.FetchUserDataListener() { @Override public void onFetchUserDataSuccess(UserData userData, int inboxCount) { @@ -1068,19 +1069,6 @@ public class MainActivity extends BaseActivity implements SortTypeSelectionCallb 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; - } - });*/ } } diff --git a/signed.apk.idsig b/signed.apk.idsig new file mode 100644 index 00000000..1ff0af5c Binary files /dev/null and b/signed.apk.idsig differ