Update Compound and handle API breaks in Introspect. (#3083)

This commit is contained in:
Doug
2024-07-24 18:09:11 +01:00
committed by GitHub
parent f44c0765f8
commit c10ed6169c
5 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -7613,7 +7613,7 @@
repositoryURL = "https://github.com/element-hq/compound-ios"; repositoryURL = "https://github.com/element-hq/compound-ios";
requirement = { requirement = {
kind = revision; kind = revision;
revision = 4c682f497b7b1c2ebbe84f564a1cecd2ed201414; revision = ab79d0cc5e5bb2ef3624b76c99471e414c12e8da;
}; };
}; };
F76A08D0EA29A07A54F4EB4D /* XCRemoteSwiftPackageReference "swift-collections" */ = { F76A08D0EA29A07A54F4EB4D /* XCRemoteSwiftPackageReference "swift-collections" */ = {
@@ -6,8 +6,8 @@
"kind" : "remoteSourceControl", "kind" : "remoteSourceControl",
"location" : "https://github.com/element-hq/compound-design-tokens", "location" : "https://github.com/element-hq/compound-design-tokens",
"state" : { "state" : {
"revision" : "5350cf2871ef7edcf043ef57b8990858463db51b", "revision" : "b9723186abc3623c9648b1500c6e3d56e4571179",
"version" : "1.6.0" "version" : "1.7.0"
} }
}, },
{ {
@@ -15,7 +15,7 @@
"kind" : "remoteSourceControl", "kind" : "remoteSourceControl",
"location" : "https://github.com/element-hq/compound-ios", "location" : "https://github.com/element-hq/compound-ios",
"state" : { "state" : {
"revision" : "4c682f497b7b1c2ebbe84f564a1cecd2ed201414" "revision" : "ab79d0cc5e5bb2ef3624b76c99471e414c12e8da"
} }
}, },
{ {
@@ -275,8 +275,8 @@
"kind" : "remoteSourceControl", "kind" : "remoteSourceControl",
"location" : "https://github.com/siteline/SwiftUI-Introspect", "location" : "https://github.com/siteline/SwiftUI-Introspect",
"state" : { "state" : {
"revision" : "668a65735751432b640260c56dfa621cec568368", "revision" : "807f73ce09a9b9723f12385e592b4e0aaebd3336",
"version" : "1.2.0" "version" : "1.3.0"
} }
}, },
{ {
@@ -73,7 +73,7 @@ struct FullscreenDialog<Content: View, BottomContent: View>: View {
} }
/// A layout where the content scrolls with the bottom content overlaid. Used with regular font sizes. /// A layout where the content scrolls with the bottom content overlaid. Used with regular font sizes.
var standardLayout: some View { @MainActor var standardLayout: some View {
GeometryReader { geometry in GeometryReader { geometry in
ScrollView { ScrollView {
VStack(spacing: 0) { VStack(spacing: 0) {
@@ -102,6 +102,7 @@ public struct AuthenticationTextFieldStyle: TextFieldStyle {
self.accessibilityIdentifier = accessibilityIdentifier self.accessibilityIdentifier = accessibilityIdentifier
} }
@MainActor
public func _body(configuration: TextField<_Label>) -> some View { public func _body(configuration: TextField<_Label>) -> some View {
let rectangle = RoundedRectangle(cornerRadius: 14.0) let rectangle = RoundedRectangle(cornerRadius: 14.0)
+1 -1
View File
@@ -64,7 +64,7 @@ packages:
# path: ../matrix-rust-sdk # path: ../matrix-rust-sdk
Compound: Compound:
url: https://github.com/element-hq/compound-ios url: https://github.com/element-hq/compound-ios
revision: 4c682f497b7b1c2ebbe84f564a1cecd2ed201414 revision: ab79d0cc5e5bb2ef3624b76c99471e414c12e8da
# path: ../compound-ios # path: ../compound-ios
AnalyticsEvents: AnalyticsEvents:
url: https://github.com/matrix-org/matrix-analytics-events url: https://github.com/matrix-org/matrix-analytics-events