From 07b4d0dbc44a2820120c01fab6a036f1ca4bfeeb Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Tue, 3 Oct 2023 11:54:39 -0700 Subject: [PATCH] enable cache --- app/src/main/java/gallery/memories/MainActivity.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/gallery/memories/MainActivity.kt b/app/src/main/java/gallery/memories/MainActivity.kt index 4d3b13e8..edc1a1b5 100644 --- a/app/src/main/java/gallery/memories/MainActivity.kt +++ b/app/src/main/java/gallery/memories/MainActivity.kt @@ -172,8 +172,8 @@ class MainActivity : AppCompatActivity() { binding.webview.addJavascriptInterface(nativex, "nativex") binding.webview.setLayerType(View.LAYER_TYPE_HARDWARE, null) binding.webview.setBackgroundColor(Color.TRANSPARENT) - binding.webview.clearCache(true) - WebView.setWebContentsDebuggingEnabled(true); +// binding.webview.clearCache(true) +// WebView.setWebContentsDebuggingEnabled(true); // Welcome page or actual app nativex.account.refreshAuthHeader()