AccountFragment: Throw users on splashFragment on logout

We have multiple checks implemented at this point in splashFragment to ensure
proper validation and navigation. If a user logs out and hits back button, he still
gets to browse Aurora Store which is an unintended behaviour.

Instead of handling same logic twice everywhere, make AccountFragment minimal and only
handle logging out here.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2024-06-01 13:26:45 +05:30
parent cf4e0ee091
commit 6bf75bb68a
58 changed files with 75 additions and 412 deletions

View File

@@ -44,7 +44,6 @@
<string name="account_anonymous">"Anonymous"</string>
<string name="account_anonymous_insecure">"Anonymous (insecure)"</string>
<string name="account_google">"Google"</string>
<string name="account_logged_out">"You are logged out"</string>
<string name="account_login_using">Log in using</string>
<string name="account_logout">Log out from Aurora</string>
<string name="action_back">"Back"</string>