Some crash fixes

This commit is contained in:
arkon
2020-12-13 10:58:24 -05:00
parent 91fa1ec6b2
commit fd2028557e
8 changed files with 12 additions and 15 deletions
@@ -36,7 +36,7 @@ open class BaseWebViewActivity : BaseActivity<WebviewActivityBinding>() {
try {
binding = WebviewActivityBinding.inflate(layoutInflater)
setContentView(binding.root)
} catch (e: Exception) {
} catch (e: Throwable) {
// Potentially throws errors like "Error inflating class android.webkit.WebView"
toast(R.string.information_webview_required, Toast.LENGTH_LONG)
finish()