From e9f66bda37f59b61bb89498f00fb892af2497e06 Mon Sep 17 00:00:00 2001 From: Doug <6060466+pixlwave@users.noreply.github.com> Date: Wed, 3 Jun 2026 11:11:39 +0100 Subject: [PATCH] Use the new crop icon from Compound. (#5691) --- .../xcshareddata/swiftpm/Package.resolved | 6 +++--- .../View/MediaUploadPreviewScreen.swift | 2 +- .../xcshareddata/swiftpm/Package.resolved | 10 +++++----- compound-ios/Package.resolved | 6 +++--- compound-ios/Package.swift | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/ElementX.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/ElementX.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 506013a98..fb238f91a 100644 --- a/ElementX.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/ElementX.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -1,13 +1,13 @@ { - "originHash" : "523b60263f55a0991f79cf49e6c0c23cd9a39903f32cc2aaf98164215038fa0d", + "originHash" : "b61d9d0bd4861f010c6953ae30321be4ae8652ff9aab94e0d2bfbba7769f0ead", "pins" : [ { "identity" : "compound-design-tokens", "kind" : "remoteSourceControl", "location" : "https://github.com/element-hq/compound-design-tokens", "state" : { - "revision" : "33a0ad8a14dd07dd1acfcb5a1e77cb8485c594ea", - "version" : "10.2.0" + "revision" : "65aaeac72cd81abdc6f363f127667e246c5f4283", + "version" : "10.2.1" } }, { diff --git a/ElementX/Sources/Screens/MediaUploadPreviewScreen/View/MediaUploadPreviewScreen.swift b/ElementX/Sources/Screens/MediaUploadPreviewScreen/View/MediaUploadPreviewScreen.swift index 68241a7c5..20baaea1c 100644 --- a/ElementX/Sources/Screens/MediaUploadPreviewScreen/View/MediaUploadPreviewScreen.swift +++ b/ElementX/Sources/Screens/MediaUploadPreviewScreen/View/MediaUploadPreviewScreen.swift @@ -167,7 +167,7 @@ struct MediaUploadPreviewScreen: View { if isCurrentMediaImage { ToolbarItem(placement: .primaryAction) { Button { context.isPresentingMediaEditor = true } label: { - CompoundIcon(\.editSolid) + CompoundIcon(\.crop) } // Fix a bug with the preferredColorScheme on iOS 18 where the button doesn't // follow the dark colour scheme on devices running with dark mode disabled. diff --git a/compound-ios/Inspector/Inspector.xcworkspace/xcshareddata/swiftpm/Package.resolved b/compound-ios/Inspector/Inspector.xcworkspace/xcshareddata/swiftpm/Package.resolved index e2d8992f1..1315602d4 100644 --- a/compound-ios/Inspector/Inspector.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/compound-ios/Inspector/Inspector.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -1,13 +1,13 @@ { - "originHash" : "f1bd760161a06debbba4152a9ad83d70deae74ffe4d91dd85d4d412572c1cde9", + "originHash" : "b176ccc5aeb79a3bc3e26b224bb259b7fd4dd0ff8d124a2f4d17d9858b087aa0", "pins" : [ { "identity" : "compound-design-tokens", "kind" : "remoteSourceControl", "location" : "https://github.com/element-hq/compound-design-tokens.git", "state" : { - "revision" : "33a0ad8a14dd07dd1acfcb5a1e77cb8485c594ea", - "version" : "10.2.0" + "revision" : "65aaeac72cd81abdc6f363f127667e246c5f4283", + "version" : "10.2.1" } }, { @@ -33,8 +33,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/pointfreeco/swift-snapshot-testing", "state" : { - "revision" : "a8b7c5e0ed33d8ab8887d1654d9b59f2cbad529b", - "version" : "1.18.7" + "revision" : "ad5e3190cc63dc288f28546f9c6827efc1e9d495", + "version" : "1.19.2" } }, { diff --git a/compound-ios/Package.resolved b/compound-ios/Package.resolved index be9ba1933..fc2552bb4 100644 --- a/compound-ios/Package.resolved +++ b/compound-ios/Package.resolved @@ -1,13 +1,13 @@ { - "originHash" : "ae93e5e028f3ecd93929879130e93705035af00e0a6d1e4131fc7b7bee7fd255", + "originHash" : "b176ccc5aeb79a3bc3e26b224bb259b7fd4dd0ff8d124a2f4d17d9858b087aa0", "pins" : [ { "identity" : "compound-design-tokens", "kind" : "remoteSourceControl", "location" : "https://github.com/element-hq/compound-design-tokens", "state" : { - "revision" : "33a0ad8a14dd07dd1acfcb5a1e77cb8485c594ea", - "version" : "10.2.0" + "revision" : "65aaeac72cd81abdc6f363f127667e246c5f4283", + "version" : "10.2.1" } }, { diff --git a/compound-ios/Package.swift b/compound-ios/Package.swift index 9137eccf8..30f8793d0 100644 --- a/compound-ios/Package.swift +++ b/compound-ios/Package.swift @@ -9,7 +9,7 @@ let package = Package( .library(name: "Compound", targets: ["Compound"]) ], dependencies: [ - .package(url: "https://github.com/element-hq/compound-design-tokens", exact: "10.2.0"), + .package(url: "https://github.com/element-hq/compound-design-tokens", exact: "10.2.1"), // .package(path: "../compound-design-tokens"), .package(url: "https://github.com/siteline/SwiftUI-Introspect", from: "26.0.1"), .package(url: "https://github.com/SFSafeSymbols/SFSafeSymbols", from: "7.0.0"),