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

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

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

parent 1546be24
Loading
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -32,11 +32,7 @@ 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())