Only mark recent changes as read when dismissing snackbar via swipe
This commit is contained in:
parent
612f0b9477
commit
7cb741a7ff
1 changed files with 3 additions and 1 deletions
|
@ -372,7 +372,9 @@ class MessageListFragment :
|
|||
.setAction(R.string.okay_action) { launchRecentChangesActivity() }
|
||||
.addCallback(object : BaseCallback<Snackbar>() {
|
||||
override fun onDismissed(transientBottomBar: Snackbar?, event: Int) {
|
||||
recentChangesViewModel.onRecentChangesHintDismissed()
|
||||
if (event == DISMISS_EVENT_SWIPE) {
|
||||
recentChangesViewModel.onRecentChangesHintDismissed()
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue