Compare commits
1 Commits
bb901b64fa
...
1b2e9edc8c
Author | SHA1 | Date | |
---|---|---|---|
1b2e9edc8c |
@ -643,8 +643,8 @@ class HomeActivity :
|
||||
R.id.readAll -> {
|
||||
if (elementsShown == ItemType.UNREAD) {
|
||||
needsConfirmation(R.string.readAll, R.string.markall_dialog_message) {
|
||||
binding.swipeRefreshLayout.isRefreshing = true
|
||||
CountingIdlingResourceSingleton.increment()
|
||||
binding.swipeRefreshLayout.isRefreshing = true
|
||||
CoroutineScope(Dispatchers.IO).launch {
|
||||
val success = repository.markAllAsRead(items)
|
||||
CountingIdlingResourceSingleton.increment()
|
||||
|
Loading…
x
Reference in New Issue
Block a user