Skip to content

Commit f1c5b51

Browse files
authored
Merge pull request #575 from Aga-C/fix-notification-on-resume
Fixed notification not disappearing on resume (#573)
2 parents 47b21ff + 795d7c7 commit f1c5b51

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/ThreadActivity.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,8 @@ class ThreadActivity : SimpleActivity() {
169169
}
170170
isActivityVisible = true
171171

172+
notificationManager.cancel(threadId.hashCode())
173+
172174
ensureBackgroundThread {
173175
val newConv = conversationsDB.getConversationWithThreadId(threadId)
174176
if (newConv != null) {

0 commit comments

Comments
 (0)