We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e1a54e commit 3704370Copy full SHA for 3704370
app/src/main/java/com/viliussutkus89/documenter/ui/DocumentFragment.kt
@@ -127,11 +127,7 @@ class DocumentFragment: Fragment() {
127
}
128
binding.documentView.webViewClient = object : WebViewClient() {
129
override fun onPageFinished(view: WebView?, url: String?) {
130
- try {
131
- (requireActivity() as MainActivity).decrementIdlingResource()
132
- } catch (_: IllegalStateException) {
133
- // Ignoring IllegalStateException.
134
- }
+ (requireActivity() as MainActivity).decrementIdlingResource()
135
136
137
0 commit comments