Don't use mWebView to set WebView debugging

Signed-off-by: June <june@eridan.me>
This commit is contained in:
June 2022-02-06 03:33:55 +00:00 committed by Daniel Micay
parent 851dd55d43
commit 91dbb9adfb
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ public class PdfViewer extends AppCompatActivity implements LoaderManager.Loader
mWebView = findViewById(R.id.webview);
if (BuildConfig.DEBUG) {
mWebView.setWebContentsDebuggingEnabled(true);
WebView.setWebContentsDebuggingEnabled(true);
}
mWebView.setOnApplyWindowInsetsListener((view, insets) -> {