Update Preview tests for Xcode 16.

This commit is contained in:
Doug
2024-09-18 17:18:18 +01:00
committed by Doug
parent 3514eba4a5
commit d41dd47b51
1179 changed files with 1455 additions and 1457 deletions
@@ -5,6 +5,7 @@
// Please see LICENSE in the repository root for full details.
//
import Compound
import SwiftUI
struct AvatarHeaderView<Footer: View>: View {
@@ -193,7 +194,7 @@ struct AvatarHeaderView_Previews: PreviewProvider, TestablePreview {
mediaProvider: MockMediaProvider()) {
HStack(spacing: 32) {
ShareLink(item: "test") {
Image(systemName: "square.and.arrow.up")
CompoundIcon(\.shareIos)
}
.buttonStyle(FormActionButtonStyle(title: "Test"))
}
@@ -207,7 +208,7 @@ struct AvatarHeaderView_Previews: PreviewProvider, TestablePreview {
mediaProvider: MockMediaProvider()) {
HStack(spacing: 32) {
ShareLink(item: "test") {
Image(systemName: "square.and.arrow.up")
CompoundIcon(\.shareIos)
}
.buttonStyle(FormActionButtonStyle(title: "Test"))
}
@@ -29,7 +29,7 @@ struct MatrixUserShareLink<Label: View>: View {
struct MatrixUserPermalink_Previews: PreviewProvider, TestablePreview {
static var previews: some View {
MatrixUserShareLink(userID: "@someone:somewhere.org") {
Label("Share", systemImage: "square.and.arrow.up")
Label("Share", icon: \.shareIos)
}
}
}