Merge pull request #180 from KryptKode/feat/sms-delivered-status
Show 2 checks when sms is delivered
This commit is contained in:
commit
0b0e806d32
13 changed files with 66 additions and 26 deletions
|
|
@ -569,8 +569,8 @@ class ThreadActivity : SimpleActivity() {
|
|||
conversationsDB.markRead(threadId)
|
||||
}
|
||||
|
||||
if (i == cnt - 1 && message.type == Telephony.Sms.MESSAGE_TYPE_SENT) {
|
||||
items.add(ThreadSuccess(message.id))
|
||||
if (i == cnt - 1 && (message.type == Telephony.Sms.MESSAGE_TYPE_SENT )) {
|
||||
items.add(ThreadSent(message.id, delivered = message.status == Telephony.Sms.STATUS_COMPLETE))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue