typo
This commit is contained in:
parent
23946f6c2a
commit
caae6ab078
1 changed files with 1 additions and 1 deletions
|
@ -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) }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue