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

Unverified Commit e1ff582c authored by cketti's avatar cketti Committed by GitHub
Browse files

Merge pull request #6078 from k9mail/convert_to_kotlin

Convert `AccountSetupCheckSettings` to Kotlin
parents c78d7071 f71615f6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -256,14 +256,14 @@ class AccountSetupBasics : K9Activity() {
        }

        if (resultCode == RESULT_OK) {
            val account = this.account ?: error("Account instance missing")

            if (!checkedIncoming) {
                // We've successfully checked incoming. Now check outgoing.
                checkedIncoming = true
                AccountSetupCheckSettings.actionCheckSettings(this, account, CheckDirection.OUTGOING)
            } else {
                // We've successfully checked outgoing as well.
                val account = this.account ?: error("Account instance missing")

                preferences.saveAccount(account)
                Core.setServicesEnabled(applicationContext)

+0 −526

File deleted.

Preview size limit exceeded, changes collapsed.

+462 −0

File added.

Preview size limit exceeded, changes collapsed.