mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +01:00
Removed references to the data-client Service interface (#5484)
This commit is contained in:
parent
8222c4a42c
commit
9e970123fd
15 changed files with 38 additions and 61 deletions
|
|
@ -1,9 +1,9 @@
|
|||
package fr.free.nrw.commons;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import fr.free.nrw.commons.wikidata.WikidataConstants;
|
||||
import okhttp3.OkHttpClient;
|
||||
import org.wikipedia.AppAdapter;
|
||||
import org.wikipedia.dataclient.Service;
|
||||
import org.wikipedia.dataclient.SharedPreferenceCookieManager;
|
||||
import org.wikipedia.dataclient.WikiSite;
|
||||
import org.wikipedia.dataclient.okhttp.TestStubInterceptor;
|
||||
|
|
@ -13,7 +13,7 @@ public class TestAppAdapter extends AppAdapter {
|
|||
|
||||
@Override
|
||||
public String getMediaWikiBaseUrl() {
|
||||
return Service.WIKIPEDIA_URL;
|
||||
return WikidataConstants.WIKIPEDIA_URL;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue