Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 179bd1d4 authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊 Committed by Nishith Khanna
Browse files

mail: Fix crash when accessing server settings for unfinished accounts

parent 12ec890e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -164,6 +164,7 @@ internal class EeloAccountCreator(context: Context) : KoinComponent {

            val password = accountManager.getPassword(account)
            val existenceAccount = accounts.stream()
                .filter(kAccount::isFinishedSetup)
                .filter { acc: kAccount -> emailId.equals(acc.email, ignoreCase = true) }
                .peek { acc: kAccount? ->
                    updateAccountNameIfMissing(emailId, acc!!)