Fix main thread scheduler, fixes Komga and LANraragi(not the preferences though) (#165)

This commit is contained in:
Syer10
2021-07-31 11:13:50 -04:00
committed by GitHub
parent 3d69348301
commit fb862e23e5

View File

@@ -1,5 +1,6 @@
package rx.android.schedulers
import rx.Scheduler
import rx.internal.schedulers.ImmediateScheduler
class AndroidSchedulers {
@@ -11,6 +12,7 @@ class AndroidSchedulers {
/**
* Simulated main thread scheduler
*/
fun mainThread() = mainThreadScheduler
@JvmStatic
fun mainThread(): Scheduler = mainThreadScheduler
}
}