mirror of
https://github.com/Suwayomi/Tachidesk.git
synced 2026-01-16 08:42:34 +01:00
Fix main thread scheduler, fixes Komga and LANraragi(not the preferences though) (#165)
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user