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

Commit f71615f6 authored by cketti's avatar cketti
Browse files

Convert `AccountSetupCheckSettings` to Kotlin

parent af2d0313
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)

+330 −394

File changed.

Preview size limit exceeded, changes collapsed.