Ensure the Custom Chrome tab is removed from the backstack (#708)

This commit is contained in:
Brian Yencho authored and Álison Fernandes committed 2024-06-20 17:08:07 +01:00
1 parent 8baf88be47
commit 83b77730f5
1 file changed
+5 -2
@@ -24,9 +24,12 @@ class WebAuthCallbackActivity : AppCompatActivity() {
val intent = Intent(this, MainActivity::class.java)
.apply {
addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT)
addFlags(
Intent.FLAG_ACTIVITY_CLEAR_TOP or
Intent.FLAG_ACTIVITY_SINGLE_TOP,
)
}
startActivity(intent)
finishAffinity()
finish()
}
}