Skip to content

Commit

Permalink
Update Compound. (#2906)
Browse files Browse the repository at this point in the history
* Update Compound.

* Remove LFS hack from the docs.

* Fix preview tests

---------

Co-authored-by: Stefan Ceriu <[email protected]>
  • Loading branch information
pixlwave and stefanceriu authored Jun 7, 2024
1 parent 2487895 commit 8a52ed0
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 27 deletions.
1 change: 0 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ Git LFS is used to store UI test snapshots. `swift run tools setup-project` will

```
git lfs install
ln -s "$(which git-lfs)" "$(git --exec-path)/git-lfs"
```

### Snapshot Tests
Expand Down
6 changes: 3 additions & 3 deletions ElementX.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7287,7 +7287,7 @@
repositoryURL = "https://github.com/BarredEwe/Prefire";
requirement = {
kind = upToNextMinorVersion;
minimumVersion = 2.0.4;
minimumVersion = 2.7.0;
};
};
395DE6AE429B7ACC7C7FE31D /* XCRemoteSwiftPackageReference "KZFileWatchers" */ = {
Expand Down Expand Up @@ -7367,7 +7367,7 @@
repositoryURL = "https://github.com/siteline/SwiftUI-Introspect";
requirement = {
kind = upToNextMinorVersion;
minimumVersion = 0.9.0;
minimumVersion = 1.1.4;
};
};
A08925A9D5E3770DEB9D8509 /* XCRemoteSwiftPackageReference "sentry-cocoa" */ = {
Expand Down Expand Up @@ -7455,7 +7455,7 @@
repositoryURL = "https://github.com/element-hq/compound-ios";
requirement = {
kind = revision;
revision = c1b9c32fef5f98f90bd1856cce327770297226b1;
revision = 3cafe19060a31cb68aa4f530d2a37b3e5beac554;
};
};
F76A08D0EA29A07A54F4EB4D /* XCRemoteSwiftPackageReference "swift-collections" */ = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/element-hq/compound-design-tokens",
"state" : {
"revision" : "c3fff1f2b042295cd5f4bcf8d4fe68ec47ca4061",
"version" : "1.2.0"
"revision" : "5086370e2c8d6d23c761369c0ac6c3aef33fc5d6",
"version" : "1.3.0"
}
},
{
"identity" : "compound-ios",
"kind" : "remoteSourceControl",
"location" : "https://github.com/element-hq/compound-ios",
"state" : {
"revision" : "c1b9c32fef5f98f90bd1856cce327770297226b1"
"revision" : "3cafe19060a31cb68aa4f530d2a37b3e5beac554"
}
},
{
Expand Down Expand Up @@ -175,8 +175,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/BarredEwe/Prefire",
"state" : {
"revision" : "608e7992dedc5ee409e59b3580010371ff0cef57",
"version" : "2.0.4"
"revision" : "1ea1d76bb3c115a630c5d5d5f5d1c330f2f49982",
"version" : "2.7.0"
}
},
{
Expand All @@ -193,8 +193,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/SFSafeSymbols/SFSafeSymbols",
"state" : {
"revision" : "7cca2d60925876b5953a2cf7341cd80fbeac983c",
"version" : "4.1.1"
"revision" : "afd0a1da4ed62bab1413caa6dd6b60a7a7089ed2",
"version" : "5.2.0"
}
},
{
Expand Down Expand Up @@ -265,8 +265,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/siteline/SwiftUI-Introspect",
"state" : {
"revision" : "b94da693e57eaf79d16464b8b7c90d09cba4e290",
"version" : "0.9.2"
"revision" : "7dc5b287f8040e4ad5038739850b758e78f77808",
"version" : "1.1.4"
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ struct HomeScreenRoomList: View {
Button {
context.send(viewAction: .markRoomAsRead(roomIdentifier: room.id))
} label: {
Text(L10n.screenRoomlistMarkAsRead)
Label(L10n.screenRoomlistMarkAsRead, icon: \.markAsRead)
}
} else {
Button {
context.send(viewAction: .markRoomAsUnread(roomIdentifier: room.id))
} label: {
Text(L10n.screenRoomlistMarkAsUnread)
Label(L10n.screenRoomlistMarkAsUnread, icon: \.markAsUnread)
}
}

Expand Down
2 changes: 1 addition & 1 deletion PreviewTests/.prefire.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
test_configuration:
- template_file_path: PreviewTests.stencil
- simulator_device: "iPhone15,2"
- simulator_device: "iPhone15"
- required_os: 17
- snapshot_devices:
- iPhone 15
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ packages:
# path: ../matrix-rust-sdk
Compound:
url: https://github.com/element-hq/compound-ios
revision: c1b9c32fef5f98f90bd1856cce327770297226b1
revision: 3cafe19060a31cb68aa4f530d2a37b3e5beac554
# path: ../compound-ios
AnalyticsEvents:
url: https://github.com/matrix-org/matrix-analytics-events
Expand Down Expand Up @@ -110,7 +110,7 @@ packages:
minorVersion: 3.2.5
Prefire:
url: https://github.com/BarredEwe/Prefire
minorVersion: 2.0.4
minorVersion: 2.7.0
Sentry:
url: https://github.com/getsentry/sentry-cocoa
minorVersion: 8.13.0
Expand All @@ -122,7 +122,7 @@ packages:
minorVersion: 6.0.0
SwiftUIIntrospect:
url: https://github.com/siteline/SwiftUI-Introspect
minorVersion: 0.9.0
minorVersion: 1.1.4
Version:
url: https://github.com/mxcl/Version
minorVersion: 2.0.0
Expand Down

0 comments on commit 8a52ed0

Please sign in to comment.