Don't use mWebView to set WebView debugging
Signed-off-by: June <june@eridan.me>
This commit is contained in:
parent
851dd55d43
commit
91dbb9adfb
@ -162,7 +162,7 @@ public class PdfViewer extends AppCompatActivity implements LoaderManager.Loader
|
|||||||
mWebView = findViewById(R.id.webview);
|
mWebView = findViewById(R.id.webview);
|
||||||
|
|
||||||
if (BuildConfig.DEBUG) {
|
if (BuildConfig.DEBUG) {
|
||||||
mWebView.setWebContentsDebuggingEnabled(true);
|
WebView.setWebContentsDebuggingEnabled(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
mWebView.setOnApplyWindowInsetsListener((view, insets) -> {
|
mWebView.setOnApplyWindowInsetsListener((view, insets) -> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user