From bd342be05ad7f391d39a33a7fb53869ab2bb247c Mon Sep 17 00:00:00 2001 From: cketti Date: Tue, 13 Jul 2021 16:10:27 +0200 Subject: [PATCH] Fix possible NullPointerException in K9Drawer --- app/ui/legacy/src/main/java/com/fsck/k9/ui/K9Drawer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/ui/legacy/src/main/java/com/fsck/k9/ui/K9Drawer.kt b/app/ui/legacy/src/main/java/com/fsck/k9/ui/K9Drawer.kt index 871fb1a70..46b6fb4c1 100644 --- a/app/ui/legacy/src/main/java/com/fsck/k9/ui/K9Drawer.kt +++ b/app/ui/legacy/src/main/java/com/fsck/k9/ui/K9Drawer.kt @@ -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