mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 11:38:51 +01:00
#1112 - Mark conversations read/unread
This commit is contained in:
@@ -113,7 +113,7 @@ class QkReplyViewModel @Inject constructor(
|
||||
.map { conversation -> conversation.id }
|
||||
.autoDisposable(view.scope())
|
||||
.subscribe { threadId ->
|
||||
markRead.execute(threadId) { newState { copy(hasError = true) } }
|
||||
markRead.execute(listOf(threadId)) { newState { copy(hasError = true) } }
|
||||
}
|
||||
|
||||
// Call
|
||||
@@ -216,7 +216,7 @@ class QkReplyViewModel @Inject constructor(
|
||||
threadId
|
||||
})
|
||||
.doOnNext { threadId ->
|
||||
markRead.execute(threadId) {
|
||||
markRead.execute(listOf(threadId)) {
|
||||
newState { copy(hasError = true) }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user