You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cinemapara
changed the title
[BUG] - @Environment(\.scenePhase) private var scenePhase breaks
[BUG] - @Environment(\.scenePhase) breaks JMModal authorization Status and autoDismiss
Jan 26, 2024
When i simply put
@Environment(.scenePhase) private var scenePhase
into the view where .JMModal is used or in a parent view
.JMModal(showModal: $showModal, for: [.camera, .microphone, .calendarFull], autoDismiss: true,
onAppear: {print("JMModal Appeared")},
onDisappear: {print("JMModal Disappeared")})
Then JMModal does not get the authorization status anymore and never disappears automatically.
The text was updated successfully, but these errors were encountered: