Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 35445acd authored by Moez Bhatti's avatar Moez Bhatti
Browse files

Update variable name

parent 7ac1971c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -291,7 +291,7 @@ class ComposeViewModel(intent: Intent) : QkViewModel<ComposeView, ComposeState>(
                .subscribe()

        // Mark the conversation read, if in foreground
        Observables.combineLatest(messages, view.activityVisibleIntent, { _, b -> b })
        Observables.combineLatest(messages, view.activityVisibleIntent, { _, visible -> visible })
                .withLatestFrom(conversation, { visible, conversation ->
                    if (visible && conversation.isValid) markRead.execute(conversation.id)
                })