Create interactor for marking conversation read

This commit is contained in:
Moez Bhatti
2017-10-01 21:14:23 -04:00
parent 9ce6f8bc53
commit bc15464ba5
6 changed files with 29 additions and 25 deletions
@@ -40,4 +40,9 @@ class ConversationListViewModel : ViewModel() {
syncManager.copyToRealm { partialStates.onNext(PartialState.Refreshing(false)) }
}
override fun onCleared() {
super.onCleared()
markAllSeen.dispose()
}
}