Fix CI, Looper.getMainLooper() (#8257)
This commit is contained in:
parent
2723d5d0ca
commit
49c03653f8
@ -317,7 +317,7 @@ class ReadMangas() : HttpSource() {
|
||||
return TOKEN_REGEX.find(script)?.groups?.get(1)?.value ?: ""
|
||||
}
|
||||
|
||||
private val handler = Handler(Looper.getMainLooper())
|
||||
private val handler by lazy { Handler(Looper.getMainLooper()) }
|
||||
|
||||
private fun showToast(message: String) {
|
||||
handler.post {
|
||||
|
Loading…
x
Reference in New Issue
Block a user