mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Merge changes for switching to Fresco.
This commit is contained in:
parent
a3f3ee7fdb
commit
a9d58d4757
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ class MediaThumbnailFetchTask extends AsyncTask<String, String, String> {
|
|||
@Override
|
||||
protected String doInBackground(String... params) {
|
||||
try {
|
||||
MWApi api = CommonsApplication.app.getApi();
|
||||
MWApi api = CommonsApplication.getInstance().getMWApi();
|
||||
ApiResult result =api.action("query")
|
||||
.param("format", "xml")
|
||||
.param("prop", "imageinfo")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue