Merge pull request #5407 from k9mail/fix_npe_in_drawer
Fix possible NullPointerException in K9Drawer
This commit is contained in:
commit
ec854e242e
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ class K9Drawer(private val parent: MessageList, savedInstanceState: Bundle?) : K
|
|||
|
||||
val accountItem = ProfileDrawerItem().apply {
|
||||
isNameShown = true
|
||||
nameText = account.description
|
||||
nameText = account.description ?: ""
|
||||
descriptionText = account.email
|
||||
identifier = drawerId
|
||||
tag = account
|
||||
|
|
Loading…
Reference in a new issue