mirror of https://codeberg.org/gitnex/GitNex.git
Clean up (#1134)
As title Co-authored-by: M M Arif <mmarif@swatian.com> Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1134
This commit is contained in:
parent
7af62564eb
commit
8d2776666b
|
@ -42,12 +42,12 @@ public class PicassoService {
|
||||||
.hostnameVerifier(memorizingTrustManager.wrapHostnameVerifier(HttpsURLConnection.getDefaultHostnameVerifier()));
|
.hostnameVerifier(memorizingTrustManager.wrapHostnameVerifier(HttpsURLConnection.getDefaultHostnameVerifier()));
|
||||||
|
|
||||||
builder.downloader(new OkHttp3Downloader(okHttpClient.build()));
|
builder.downloader(new OkHttp3Downloader(okHttpClient.build()));
|
||||||
builder.listener((picasso, uri, exception) -> {
|
/*builder.listener((picasso, uri, exception) -> {
|
||||||
|
|
||||||
Log.e("PicassoService", Objects.requireNonNull(uri.toString()));
|
Log.e("PicassoService", Objects.requireNonNull(uri.toString()));
|
||||||
Log.e("PicassoService", exception.toString());
|
Log.e("PicassoService", exception.toString());
|
||||||
|
|
||||||
});
|
});*/
|
||||||
|
|
||||||
picasso = builder.memoryCache(new PicassoCache(cachePath, context)).build();
|
picasso = builder.memoryCache(new PicassoCache(cachePath, context)).build();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue