Merge remote-tracking branch 'origin/dagger3' into rs

This commit is contained in:
Milos Kozak 2020-03-30 10:13:44 +02:00
commit 6979919a29

View file

@ -39,7 +39,7 @@ object OKDialog {
} }
fun runOnUiThread(theRunnable: Runnable?) { fun runOnUiThread(theRunnable: Runnable?) {
@Suppress("DEPRECATION" @Suppress("DEPRECATION")
val mainHandler = Handler(MainApp.instance().applicationContext.mainLooper) val mainHandler = Handler(MainApp.instance().applicationContext.mainLooper)
theRunnable?.let { mainHandler.post(it) } theRunnable?.let { mainHandler.post(it) }
} }