mirror of
https://github.com/gitnex-org/gitnex.git
synced 2026-04-30 04:18:31 -05:00
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:
@@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user