mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 08:15:24 +00:00
Use the new crop icon from Compound. (#5691)
This commit is contained in:
@@ -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"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
+1
-1
@@ -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.
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user