From 8d2776666b9d447ad93e85364bb47c64bebabec5 Mon Sep 17 00:00:00 2001 From: M M Arif Date: Sun, 15 May 2022 19:22:23 +0200 Subject: [PATCH] Clean up (#1134) As title Co-authored-by: M M Arif Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1134 --- app/src/main/java/org/mian/gitnex/clients/PicassoService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/org/mian/gitnex/clients/PicassoService.java b/app/src/main/java/org/mian/gitnex/clients/PicassoService.java index 4ebae272..a0d1719b 100644 --- a/app/src/main/java/org/mian/gitnex/clients/PicassoService.java +++ b/app/src/main/java/org/mian/gitnex/clients/PicassoService.java @@ -42,12 +42,12 @@ public class PicassoService { .hostnameVerifier(memorizingTrustManager.wrapHostnameVerifier(HttpsURLConnection.getDefaultHostnameVerifier())); 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", exception.toString()); - }); + });*/ picasso = builder.memoryCache(new PicassoCache(cachePath, context)).build();