Only mark recent changes as read when dismissing snackbar via swipe
@@ -372,8 +372,10 @@ class MessageListFragment :
.setAction(R.string.okay_action) { launchRecentChangesActivity() }
.addCallback(object : BaseCallback<Snackbar>() {
override fun onDismissed(transientBottomBar: Snackbar?, event: Int) {
+ if (event == DISMISS_EVENT_SWIPE) {
recentChangesViewModel.onRecentChangesHintDismissed()
}
+ }
})
recentChangesViewModel.shouldShowRecentChangesHint
