Fix OIDC support for iOS 17 (#1550)
This commit is contained in:
@@ -27,7 +27,7 @@ struct ServerConfirmationScreen: View {
|
||||
}
|
||||
.background()
|
||||
.environment(\.backgroundStyle, AnyShapeStyle(Color.compound.bgCanvasDefault))
|
||||
.introspect(.window, on: .iOS(.v16)) { window in
|
||||
.introspect(.window, on: .iOS(.v16, .v17)) { window in
|
||||
context.send(viewAction: .updateWindow(window))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ struct SoftLogoutScreen: View {
|
||||
}
|
||||
.background(Color.compound.bgCanvasDefault.ignoresSafeArea())
|
||||
.alert(item: $context.alertInfo)
|
||||
.introspect(.window, on: .iOS(.v16)) { window in
|
||||
.introspect(.window, on: .iOS(.v16, .v17)) { window in
|
||||
context.send(viewAction: .updateWindow(window))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@ struct SettingsScreen: View {
|
||||
doneButton
|
||||
}
|
||||
}
|
||||
.introspect(.window, on: .iOS(.v16)) { window in
|
||||
.introspect(.window, on: .iOS(.v16, .v17)) { window in
|
||||
context.send(viewAction: .updateWindow(window))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user