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

@@ -91,7 +91,6 @@
<string name="action_back">返回</string>
<string name="account_logout">登出 Aurora</string>
<string name="account_login_using">登录方式</string>
<string name="account_logged_out">您已退出登录</string>
<string name="account_google">Google</string>
<string name="account_anonymous">匿名</string>
<string name="about_xda_summary">前往 Aurora Store 的 XDA 主题以参与讨论或提出建议。</string>