mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
This commit is contained in:
parent
9d55c1e8d7
commit
deb0a9874c
1 changed files with 3 additions and 1 deletions
|
|
@ -242,7 +242,9 @@ public class AchievementsActivity extends NavigationBaseActivity {
|
|||
okHttpJsonApiClient.getWikidataEdits(userName)
|
||||
.subscribeOn(Schedulers.io())
|
||||
.observeOn(AndroidSchedulers.mainThread())
|
||||
.subscribe(edits -> wikidataEditsText.setText(String.valueOf(edits)));
|
||||
.subscribe(edits -> wikidataEditsText.setText(String.valueOf(edits)), e -> {
|
||||
Timber.e("Error:" + e);
|
||||
});
|
||||
}
|
||||
|
||||
private void showSnackBarWithRetry() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue