mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:12:26 +00:00
Fix OIDC support for iOS 17 (#1550)
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ struct ServerConfirmationScreen: View {
|
|||||||
}
|
}
|
||||||
.background()
|
.background()
|
||||||
.environment(\.backgroundStyle, AnyShapeStyle(Color.compound.bgCanvasDefault))
|
.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))
|
context.send(viewAction: .updateWindow(window))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -49,7 +49,7 @@ struct SoftLogoutScreen: View {
|
|||||||
}
|
}
|
||||||
.background(Color.compound.bgCanvasDefault.ignoresSafeArea())
|
.background(Color.compound.bgCanvasDefault.ignoresSafeArea())
|
||||||
.alert(item: $context.alertInfo)
|
.alert(item: $context.alertInfo)
|
||||||
.introspect(.window, on: .iOS(.v16)) { window in
|
.introspect(.window, on: .iOS(.v16, .v17)) { window in
|
||||||
context.send(viewAction: .updateWindow(window))
|
context.send(viewAction: .updateWindow(window))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ struct SettingsScreen: View {
|
|||||||
doneButton
|
doneButton
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.introspect(.window, on: .iOS(.v16)) { window in
|
.introspect(.window, on: .iOS(.v16, .v17)) { window in
|
||||||
context.send(viewAction: .updateWindow(window))
|
context.send(viewAction: .updateWindow(window))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user