From 34b1a1f7c05b3dbd8f82a5d1eedc8c0b17b9e18e Mon Sep 17 00:00:00 2001 From: Fahim Salam Chowdhury Date: Thu, 27 Oct 2022 13:47:50 +0600 Subject: [PATCH] 782-Fix_initial_name_field_value issue: https://gitlab.e.foundation/e/os/backlog/-/issues/782 We want to show the user email as his/her default name --- .../main/java/com/fsck/k9/activity/setup/AccountSetupBasics.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/ui/legacy/src/main/java/com/fsck/k9/activity/setup/AccountSetupBasics.kt b/app/ui/legacy/src/main/java/com/fsck/k9/activity/setup/AccountSetupBasics.kt index 95d2b57c08..a393644760 100644 --- a/app/ui/legacy/src/main/java/com/fsck/k9/activity/setup/AccountSetupBasics.kt +++ b/app/ui/legacy/src/main/java/com/fsck/k9/activity/setup/AccountSetupBasics.kt @@ -342,7 +342,7 @@ class AccountSetupBasics : K9Activity() { private fun initAccount(email: String): Account { val account = this.account ?: createAccount().also { this.account = it } - account.senderName = getOwnerName() + account.senderName = email account.email = email if (account.name == null) { account.name = email -- GitLab