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 056809c commit 3fc4873Copy full SHA for 3fc4873
app/src/main/java/org/schabi/newpipe/util/potoken/PoTokenWebView.kt
@@ -346,7 +346,7 @@ class PoTokenWebView private constructor(
346
*/
347
private fun runOnMainThread(
348
emitterIfPostFails: SingleEmitter<out Any>,
349
- runnable: () -> Unit,
+ runnable: Runnable,
350
) {
351
if (!Handler(Looper.getMainLooper()).post(runnable)) {
352
emitterIfPostFails.onError(PoTokenException("Could not run on main thread"))
0 commit comments