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

Commit 06c765f4 authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

fix finish after login issue for ACTION_LOGIN

parent c4507a0c
Loading
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -65,7 +65,9 @@ internal class MainActivityStartupStateMachine(
        val authRefreshSnapshot = (authRefreshState as? AuthRefreshState.Completed)?.snapshot

        if (authRefreshSnapshot != null && gPlayLoginRequested) {
            closeAfterLogin = !authRefreshSnapshot.hasActiveSessions
            if (!authRefreshSnapshot.hasActiveSessions) {
                closeAfterLogin = true
            }

            if (
                authRefreshSnapshot.hasActiveSessions &&