Fix a bug where the onboarding flow was dismissed by logging out. (#5481)

* Fix a bug where the onboarding flow was dismissed by logging out.

* Add some tests for the available actions while we're here.

---------

Co-authored-by: Stefan Ceriu <stefan.ceriu@gmail.com>
This commit is contained in:
Doug
2026-04-27 14:33:09 +01:00
committed by GitHub
parent 876109ef75
commit 0087b5a4e5
8 changed files with 160 additions and 21 deletions
@@ -10,7 +10,7 @@ import Compound
import SwiftUI
struct IdentityConfirmationScreen: View {
let context: IdentityConfirmationScreenViewModel.Context
@Bindable var context: IdentityConfirmationScreenViewModel.Context
var shouldShowSkipButton: Bool {
#if DEBUG
@@ -31,6 +31,7 @@ struct IdentityConfirmationScreen: View {
.backgroundStyle(.compound.bgCanvasDefault)
.navigationBarBackButtonHidden(true)
.interactiveDismissDisabled()
.alert(item: $context.alertInfo)
}
// MARK: - Private