Call method to hide swipe refresh indicator on UI thread
This commit is contained in:
parent
343137f13e
commit
eeabd1e98d
1 changed files with 3 additions and 1 deletions
|
@ -226,9 +226,11 @@ class K9Drawer(private val parent: MessageList, savedInstanceState: Bundle?) : K
|
|||
accountToRefresh, true, true,
|
||||
object : SimpleMessagingListener() {
|
||||
override fun checkMailFinished(context: Context?, account: Account?) {
|
||||
swipeRefreshLayout.post {
|
||||
swipeRefreshLayout.isRefreshing = false
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue