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

Commit a9396365 authored by Vincent Bourgmayer's avatar Vincent Bourgmayer
Browse files

Revert "refactor: move stuff from onStart to onCreate to follow the logic of LoginActivity"

This reverts commit a7375676.
parent a7375676
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -32,7 +32,11 @@ class ReLoginWithOidcActivity: AppCompatActivity() {
        super.onCreate(savedInstanceState)
        eAccountType = applicationContext.getString(R.string.eelo_account_type)
        accountManager = AccountManager.get(this)
        setContentView(R.layout.activity_create_account)
    }

    override fun onStart() {
        super.onStart()
        if (removeAccount()) {
            supportFragmentManager.beginTransaction().apply {
                replace(R.id.content, EeloAuthenticatorFragment())