@@ -4,7 +4,7 @@ import UIKit
44public class ClerkAuthNativeView : UIView {
55 private lazy var hostingCoordinator = ClerkNativeHostingCoordinator ( containerView: self )
66 private var currentMode : String = " signInOrUp "
7- private var currentDismissable : Bool = false
7+ private var currentDismissible : Bool = false
88 private var hasInitialized : Bool = false
99 private var didCompleteAuthentication : Bool = false
1010 private var dismissalEventSent : Bool = false
@@ -20,11 +20,11 @@ public class ClerkAuthNativeView: UIView {
2020 }
2121 }
2222
23- @objc var isDismissable : NSNumber ? {
23+ @objc var isDismissible : NSNumber ? {
2424 didSet {
25- let newDismissable = isDismissable ? . boolValue ?? false
26- guard newDismissable != currentDismissable else { return }
27- currentDismissable = newDismissable
25+ let newDismissible = isDismissible ? . boolValue ?? false
26+ guard newDismissible != currentDismissible else { return }
27+ currentDismissible = newDismissible
2828 if hasInitialized { updateView ( ) }
2929 }
3030 }
@@ -42,7 +42,7 @@ public class ClerkAuthNativeView: UIView {
4242 if window != nil && !hasInitialized {
4343 hasInitialized = true
4444 updateView ( )
45- } else if window == nil && hasInitialized && currentDismissable && !didCompleteAuthentication && !dismissalEventSent {
45+ } else if window == nil && hasInitialized && currentDismissible && !didCompleteAuthentication && !dismissalEventSent {
4646 dismissalEventSent = true
4747 sendAuthEvent ( type: . dismissed)
4848 }
@@ -57,7 +57,7 @@ public class ClerkAuthNativeView: UIView {
5757
5858 guard let returnedController = factory. createAuthView (
5959 mode: currentMode,
60- dismissable : currentDismissable ,
60+ dismissible : currentDismissible ,
6161 onEvent: { [ weak self] event, data in
6262 if event. isAuthCompletion {
6363 self ? . didCompleteAuthentication = true
0 commit comments