Fix deleting messages from archive
This commit is contained in:
parent
d8d5f70b37
commit
d7b7b11cdf
@ -66,6 +66,10 @@ object Singleton {
|
|||||||
// work-around for messages that are deleted from unread, which already have the unread label removed
|
// work-around for messages that are deleted from unread, which already have the unread label removed
|
||||||
swipeableMessageAdapter.remove(message)
|
swipeableMessageAdapter.remove(message)
|
||||||
}
|
}
|
||||||
|
label == AndroidLabelRepository.LABEL_ARCHIVE && !added.isEmpty() -> {
|
||||||
|
// work-around for messages in archive, which isn't an actual label but an absence of labels
|
||||||
|
swipeableMessageAdapter.remove(message)
|
||||||
|
}
|
||||||
added.contains(label) -> {
|
added.contains(label) -> {
|
||||||
// in most cases, top should be the correct position, but time will show if
|
// in most cases, top should be the correct position, but time will show if
|
||||||
// the message should be properly sorted in
|
// the message should be properly sorted in
|
||||||
|
Loading…
Reference in New Issue
Block a user