Avoid crash when opening drafts from the message list widget
This commit is contained in:
parent
679a2648c7
commit
d342f6ee35
1 changed files with 1 additions and 0 deletions
|
@ -953,6 +953,7 @@ open class MessageList :
|
|||
|
||||
val draftsFolderId = account.draftsFolderId
|
||||
if (draftsFolderId != null && folderId == draftsFolderId) {
|
||||
displayMode = DisplayMode.MESSAGE_LIST
|
||||
MessageActions.actionEditDraft(this, messageReference)
|
||||
} else {
|
||||
val fragment = MessageViewContainerFragment.newInstance(messageReference)
|
||||
|
|
Loading…
Reference in a new issue