Skip to content

Commit 51180a5

Browse files
committed
Browser : Fix bad loading
1 parent 2867086 commit 51180a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/java/me/devsaki/hentoid/activities/sources/CustomWebViewClient.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -614,8 +614,8 @@ open class CustomWebViewClient : WebViewClient {
614614
} catch (e: Exception) {
615615
Timber.i(e, "sendRequest ${request.method} ${request.url} failed ")
616616
}
617-
}
618-
return WebResourceResponse("text/plain", "utf-8", ByteArrayInputStream(NOTHING))
617+
return WebResourceResponse("text/plain", "utf-8", ByteArrayInputStream(NOTHING))
618+
} else return null
619619
}
620620

621621
fun recordDynamicPostRequests(url: String, body: String) {

0 commit comments

Comments
 (0)