mirror of
https://github.com/SimpleMobileTools/Simple-SMS-Messenger.git
synced 2025-06-05 21:49:22 +02:00
Fixed notification not disappearing on resume (#573)
This commit is contained in:
@@ -169,6 +169,8 @@ class ThreadActivity : SimpleActivity() {
|
|||||||
}
|
}
|
||||||
isActivityVisible = true
|
isActivityVisible = true
|
||||||
|
|
||||||
|
notificationManager.cancel(threadId.hashCode())
|
||||||
|
|
||||||
ensureBackgroundThread {
|
ensureBackgroundThread {
|
||||||
val newConv = conversationsDB.getConversationWithThreadId(threadId)
|
val newConv = conversationsDB.getConversationWithThreadId(threadId)
|
||||||
if (newConv != null) {
|
if (newConv != null) {
|
||||||
|
Reference in New Issue
Block a user