|
@@ -31,6 +31,7 @@ open class BaseWebViewActivity : BaseActivity<WebviewActivityBinding>() {
|
|
|
if (!WebViewUtil.supportsWebView(this)) {
|
|
|
toast(R.string.information_webview_required, Toast.LENGTH_LONG)
|
|
|
finish()
|
|
|
+ return
|
|
|
}
|
|
|
|
|
|
try {
|
|
@@ -40,6 +41,7 @@ open class BaseWebViewActivity : BaseActivity<WebviewActivityBinding>() {
|
|
|
// Potentially throws errors like "Error inflating class android.webkit.WebView"
|
|
|
toast(R.string.information_webview_required, Toast.LENGTH_LONG)
|
|
|
finish()
|
|
|
+ return
|
|
|
}
|
|
|
|
|
|
title = intent.extras?.getString(TITLE_KEY)
|