Simplification

This commit is contained in:
M66B 2022-06-10 09:57:27 +02:00
parent 7cae4e67c4
commit 22ac74b4b5
1 changed files with 2 additions and 1 deletions

View File

@ -427,7 +427,8 @@ public class Helper {
try { try {
PackageManager pm = context.getPackageManager(); PackageManager pm = context.getPackageManager();
if (pm.hasSystemFeature(PackageManager.FEATURE_WEBVIEW)) { if (pm.hasSystemFeature(PackageManager.FEATURE_WEBVIEW)) {
new WebViewEx(context); WebView view = new WebView(context);
view.setOverScrollMode(View.OVER_SCROLL_NEVER);
return true; return true;
} else } else
return false; return false;