Update how file captions are rendered (#3554)

* Update the File/Audio captions layout to match Figma.

* Fix caption sizing issues.

The send info label was being added incorrectly.

* Update icon size and regenerate snapshots.

* Fix a regression in the location timeline item layout.
This commit is contained in:
Doug
2024-11-26 10:36:46 +00:00
committed by GitHub
parent ba8edc31c7
commit 03aaf849ee
30 changed files with 191 additions and 113 deletions
+1 -1
View File
@@ -8315,7 +8315,7 @@
repositoryURL = "https://github.com/element-hq/compound-ios"; repositoryURL = "https://github.com/element-hq/compound-ios";
requirement = { requirement = {
kind = revision; kind = revision;
revision = f0436aa767f614584bf119defa6372ddb3b60080; revision = 901f3f2fc150db82cf8a2c4da53914b31f681b56;
}; };
}; };
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" : "3adf924aec63f1addfe9124a95fa4c9e9b5bff7d", "revision" : "31b236f02c811704b68e8aae429865fe8eb8d8ba",
"version" : "2.1.0" "version" : "2.1.1"
} }
}, },
{ {
@@ -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" : "f0436aa767f614584bf119defa6372ddb3b60080" "revision" : "901f3f2fc150db82cf8a2c4da53914b31f681b56"
} }
}, },
{ {
@@ -237,6 +237,7 @@ struct MessageComposer_Previews: PreviewProvider, TestablePreview {
duration: 100, duration: 100,
waveform: nil, waveform: nil,
source: nil, source: nil,
fileSize: nil,
contentType: nil)))), contentType: nil)))),
.loaded(sender: .init(id: "James"), .loaded(sender: .init(id: "James"),
eventID: "123", eventID: "123",
@@ -246,6 +247,7 @@ struct MessageComposer_Previews: PreviewProvider, TestablePreview {
eventContent: .message(.file(.init(filename: "brain-surgery.pdf", eventContent: .message(.file(.init(filename: "brain-surgery.pdf",
caption: "File: Crash course in brain surgery", caption: "File: Crash course in brain surgery",
source: nil, source: nil,
fileSize: nil,
thumbnailSource: nil, thumbnailSource: nil,
contentType: nil)))), contentType: nil)))),
.loaded(sender: .init(id: "Cliff"), .loaded(sender: .init(id: "Cliff"),
@@ -250,6 +250,7 @@ struct TimelineReplyView_Previews: PreviewProvider, TestablePreview {
duration: 0, duration: 0,
waveform: nil, waveform: nil,
source: nil, source: nil,
fileSize: nil,
contentType: nil))))), contentType: nil))))),
TimelineReplyView(placement: .timeline, TimelineReplyView(placement: .timeline,
@@ -258,6 +259,7 @@ struct TimelineReplyView_Previews: PreviewProvider, TestablePreview {
eventContent: .message(.file(.init(filename: "file.txt", eventContent: .message(.file(.init(filename: "file.txt",
caption: "Some file", caption: "Some file",
source: nil, source: nil,
fileSize: nil,
thumbnailSource: nil, thumbnailSource: nil,
contentType: nil))))), contentType: nil))))),
@@ -289,6 +291,7 @@ struct TimelineReplyView_Previews: PreviewProvider, TestablePreview {
duration: 0, duration: 0,
waveform: nil, waveform: nil,
source: nil, source: nil,
fileSize: nil,
contentType: nil))))), contentType: nil))))),
TimelineReplyView(placement: .timeline, TimelineReplyView(placement: .timeline,
timelineItemReplyDetails: .loaded(sender: .init(id: "", displayName: "Bob"), timelineItemReplyDetails: .loaded(sender: .init(id: "", displayName: "Bob"),
@@ -514,6 +514,7 @@ struct TimelineItemBubbledStylerView_Previews: PreviewProvider, TestablePreview
duration: 100, duration: 100,
waveform: EstimatedWaveform.mockWaveform, waveform: EstimatedWaveform.mockWaveform,
source: nil, source: nil,
fileSize: nil,
contentType: nil), contentType: nil),
properties: RoomTimelineItemProperties(encryptionAuthenticity: .notGuaranteed(color: .gray))), properties: RoomTimelineItemProperties(encryptionAuthenticity: .notGuaranteed(color: .gray))),
playerState: AudioPlayerState(id: .timelineItemIdentifier(.randomEvent), playerState: AudioPlayerState(id: .timelineItemIdentifier(.randomEvent),
@@ -552,6 +553,7 @@ private struct MockTimelineContent: View {
duration: 100, duration: 100,
waveform: EstimatedWaveform.mockWaveform, waveform: EstimatedWaveform.mockWaveform,
source: nil, source: nil,
fileSize: nil,
contentType: nil), contentType: nil),
replyDetails: replyDetails)) replyDetails: replyDetails))
@@ -565,6 +567,7 @@ private struct MockTimelineContent: View {
content: .init(filename: "file.txt", content: .init(filename: "file.txt",
caption: "File", caption: "File",
source: nil, source: nil,
fileSize: nil,
thumbnailSource: nil, thumbnailSource: nil,
contentType: nil), contentType: nil),
replyDetails: replyDetails)) replyDetails: replyDetails))
@@ -616,6 +619,7 @@ private struct MockTimelineContent: View {
duration: 100, duration: 100,
waveform: EstimatedWaveform.mockWaveform, waveform: EstimatedWaveform.mockWaveform,
source: nil, source: nil,
fileSize: nil,
contentType: nil), contentType: nil),
replyDetails: replyDetails), replyDetails: replyDetails),
playerState: AudioPlayerState(id: .timelineItemIdentifier(.randomEvent), playerState: AudioPlayerState(id: .timelineItemIdentifier(.randomEvent),
@@ -152,12 +152,20 @@ private extension TimelineItemSendInfo {
layoutType = switch timelineItem { layoutType = switch timelineItem {
case is TextBasedRoomTimelineItem: case is TextBasedRoomTimelineItem:
.overlay(capsuleStyle: false) .overlay(capsuleStyle: false)
case let message as EventBasedMessageTimelineItemProtocol where message is ImageRoomTimelineItem || message is VideoRoomTimelineItem: case let message as EventBasedMessageTimelineItemProtocol:
.overlay(capsuleStyle: !message.hasMediaCaption) switch message {
case is ImageRoomTimelineItem, is VideoRoomTimelineItem:
.overlay(capsuleStyle: !message.hasMediaCaption)
case is AudioRoomTimelineItem, is FileRoomTimelineItem:
// swiftlint:disable:next void_function_in_ternary
message.hasMediaCaption ? .overlay(capsuleStyle: false) : .horizontal(spacing: 0) // No spacing as the content already contains it.
case let locationTimelineItem as LocationRoomTimelineItem:
.overlay(capsuleStyle: locationTimelineItem.content.geoURI != nil)
default:
.horizontal()
}
case is StickerRoomTimelineItem: case is StickerRoomTimelineItem:
.overlay(capsuleStyle: true) .overlay(capsuleStyle: true)
case let locationTimelineItem as LocationRoomTimelineItem:
.overlay(capsuleStyle: locationTimelineItem.content.geoURI != nil)
case is PollRoomTimelineItem: case is PollRoomTimelineItem:
.vertical(spacing: 16) .vertical(spacing: 16)
default: default:
@@ -13,15 +13,13 @@ struct AudioRoomTimelineView: View {
var body: some View { var body: some View {
TimelineStyler(timelineItem: timelineItem) { TimelineStyler(timelineItem: timelineItem) {
Label(title: { Text(timelineItem.body) }, MediaFileRoomTimelineContent(filename: timelineItem.content.filename,
icon: { Image(systemName: "waveform") fileSize: timelineItem.content.fileSize,
.foregroundColor(.compound.iconPrimary) caption: timelineItem.content.caption,
}) formattedCaption: timelineItem.content.formattedCaption,
.labelStyle(RoomTimelineViewLabelStyle()) additionalWhitespaces: timelineItem.additionalWhitespaces(),
.font(.compound.bodyLG) isAudioFile: true)
.padding(.vertical, 12) .accessibilityLabel(L10n.commonAudio)
.padding(.horizontal, 6)
.accessibilityLabel(L10n.commonAudio)
} }
} }
} }
@@ -30,21 +28,31 @@ struct AudioRoomTimelineView_Previews: PreviewProvider, TestablePreview {
static let viewModel = TimelineViewModel.mock static let viewModel = TimelineViewModel.mock
static var previews: some View { static var previews: some View {
body.environmentObject(viewModel.context) VStack(spacing: 20) {
AudioRoomTimelineView(timelineItem: makeItem(filename: "audio.ogg",
fileSize: 2 * 1024 * 1024))
AudioRoomTimelineView(timelineItem: makeItem(filename: "Best Song Ever.mp3",
fileSize: 7 * 1024 * 1024,
caption: "This song rocks!"))
}
.environmentObject(viewModel.context)
} }
static var body: some View { static func makeItem(filename: String, fileSize: UInt, caption: String? = nil) -> AudioRoomTimelineItem {
AudioRoomTimelineView(timelineItem: AudioRoomTimelineItem(id: .randomEvent, .init(id: .randomEvent,
timestamp: "Now", timestamp: "Now",
isOutgoing: false, isOutgoing: false,
isEditable: false, isEditable: false,
canBeRepliedTo: true, canBeRepliedTo: true,
isThreaded: false, isThreaded: false,
sender: .init(id: "Bob"), sender: .init(id: "Bob"),
content: .init(filename: "audio.ogg", content: .init(filename: filename,
duration: 300, caption: caption,
waveform: nil, duration: 300,
source: nil, waveform: nil,
contentType: nil))) source: nil,
fileSize: fileSize,
contentType: nil))
} }
} }
@@ -13,63 +13,110 @@ struct FileRoomTimelineView: View {
var body: some View { var body: some View {
TimelineStyler(timelineItem: timelineItem) { TimelineStyler(timelineItem: timelineItem) {
Label { Text(timelineItem.body) } icon: { MediaFileRoomTimelineContent(filename: timelineItem.content.filename,
CompoundIcon(\.document) fileSize: timelineItem.content.fileSize,
.foregroundColor(.compound.iconPrimary) caption: timelineItem.content.caption,
} formattedCaption: timelineItem.content.formattedCaption,
.labelStyle(RoomTimelineViewLabelStyle()) additionalWhitespaces: timelineItem.additionalWhitespaces())
.font(.compound.bodyLG) .accessibilityLabel(L10n.commonFile)
.padding(.vertical, 8)
.padding(.horizontal, 6)
.accessibilityLabel(L10n.commonFile)
} }
} }
} }
// MARK: Content
struct MediaFileRoomTimelineContent: View {
let filename: String
let fileSize: UInt?
let caption: String?
let formattedCaption: AttributedString?
let additionalWhitespaces: Int
var isAudioFile = false
var icon: KeyPath<CompoundIcons, Image> {
isAudioFile ? \.audio : \.attachment
}
var body: some View {
VStack(alignment: .leading, spacing: 8) {
filePreview
if let formattedCaption {
FormattedBodyText(attributedString: formattedCaption,
additionalWhitespacesCount: additionalWhitespaces)
} else if let caption {
FormattedBodyText(text: caption,
additionalWhitespacesCount: additionalWhitespaces)
}
}
}
var filePreview: some View {
Label {
HStack(spacing: 4) {
Text(filename)
.truncationMode(.middle)
if let fileSize {
Text("(\(fileSize.formatted(.byteCount(style: .file))))")
.layoutPriority(1) // We want the filename to truncate rather than the size.
}
}
.font(.compound.bodyLG)
.foregroundStyle(.compound.textPrimary)
.lineLimit(1)
} icon: {
CompoundIcon(icon, size: .xSmall, relativeTo: .body)
.foregroundColor(.compound.iconPrimary)
.scaledPadding(8)
.background(.compound.iconOnSolidPrimary, in: Circle())
}
.labelStyle(.custom(spacing: 8, alignment: .center))
.padding(.horizontal, 4) // Add to the styler's padding of 8, as we use the default insets for the caption.
}
}
// MARK: - Previews
struct FileRoomTimelineView_Previews: PreviewProvider, TestablePreview { struct FileRoomTimelineView_Previews: PreviewProvider, TestablePreview {
static let viewModel = TimelineViewModel.mock static let viewModel = TimelineViewModel.mock
static var previews: some View { static var previews: some View {
body.environmentObject(viewModel.context) VStack(spacing: 20.0) {
FileRoomTimelineView(timelineItem: makeItem(filename: "document.pdf"))
FileRoomTimelineView(timelineItem: makeItem(filename: "document.pdf",
fileSize: 3 * 1024 * 1024))
FileRoomTimelineView(timelineItem: makeItem(filename: "spreadsheet.xlsx",
fileSize: 17 * 1024,
caption: "The important figures you asked me to send over."))
FileRoomTimelineView(timelineItem: makeItem(filename: "document.txt",
fileSize: 456,
caption: "Plain caption",
formattedCaption: "Formatted caption"))
}
.environmentObject(viewModel.context)
} }
static var body: some View { static func makeItem(filename: String,
VStack(spacing: 20.0) { fileSize: UInt? = nil,
FileRoomTimelineView(timelineItem: FileRoomTimelineItem(id: .randomEvent, caption: String? = nil,
timestamp: "Now", formattedCaption: AttributedString? = nil) -> FileRoomTimelineItem {
isOutgoing: false, .init(id: .randomEvent,
isEditable: false, timestamp: "Now",
canBeRepliedTo: true, isOutgoing: false,
isThreaded: false, isEditable: false,
sender: .init(id: "Bob"), canBeRepliedTo: true,
content: .init(filename: "document.pdf", isThreaded: false,
source: nil, sender: .init(id: "Bob"),
thumbnailSource: nil, content: .init(filename: filename,
contentType: nil))) caption: caption,
formattedCaption: formattedCaption,
FileRoomTimelineView(timelineItem: FileRoomTimelineItem(id: .randomEvent, source: nil,
timestamp: "Now", fileSize: fileSize,
isOutgoing: false, thumbnailSource: nil,
isEditable: false, contentType: nil))
canBeRepliedTo: true,
isThreaded: false,
sender: .init(id: "Bob"),
content: .init(filename: "document.docx",
source: nil,
thumbnailSource: nil,
contentType: nil)))
FileRoomTimelineView(timelineItem: FileRoomTimelineItem(id: .randomEvent,
timestamp: "Now",
isOutgoing: false,
isEditable: false,
canBeRepliedTo: true,
isThreaded: false,
sender: .init(id: "Bob"),
content: .init(filename: "document.txt",
source: nil,
thumbnailSource: nil,
contentType: nil)))
}
} }
} }
@@ -17,5 +17,6 @@ struct AudioRoomTimelineItemContent: Hashable {
let duration: TimeInterval let duration: TimeInterval
let waveform: EstimatedWaveform? let waveform: EstimatedWaveform?
let source: MediaSourceProxy? let source: MediaSourceProxy?
let fileSize: UInt?
let contentType: UTType? let contentType: UTType?
} }
@@ -15,6 +15,7 @@ struct FileRoomTimelineItemContent: Hashable {
/// The original textual representation of the formatted caption directly from the event (usually HTML code) /// The original textual representation of the formatted caption directly from the event (usually HTML code)
var formattedCaptionHTMLString: String? var formattedCaptionHTMLString: String?
let source: MediaSourceProxy? let source: MediaSourceProxy?
let fileSize: UInt?
let thumbnailSource: MediaSourceProxy? let thumbnailSource: MediaSourceProxy?
let contentType: UTType? let contentType: UTType?
} }
@@ -67,6 +67,7 @@ struct VoiceMessageRoomTimelineView_Previews: PreviewProvider, TestablePreview {
duration: 300, duration: 300,
waveform: EstimatedWaveform.mockWaveform, waveform: EstimatedWaveform.mockWaveform,
source: nil, source: nil,
fileSize: nil,
contentType: nil)) contentType: nil))
static let playerState = AudioPlayerState(id: .timelineItemIdentifier(timelineItemIdentifier), static let playerState = AudioPlayerState(id: .timelineItemIdentifier(timelineItemIdentifier),
@@ -503,6 +503,7 @@ struct RoomTimelineItemFactory: RoomTimelineItemFactoryProtocol {
duration: messageContent.audio?.duration ?? 0, duration: messageContent.audio?.duration ?? 0,
waveform: waveform, waveform: waveform,
source: MediaSourceProxy(source: messageContent.source, mimeType: messageContent.info?.mimetype), source: MediaSourceProxy(source: messageContent.source, mimeType: messageContent.info?.mimetype),
fileSize: messageContent.info?.size.map(UInt.init),
contentType: UTType(mimeType: messageContent.info?.mimetype, fallbackFilename: messageContent.filename)) contentType: UTType(mimeType: messageContent.info?.mimetype, fallbackFilename: messageContent.filename))
} }
@@ -572,6 +573,7 @@ struct RoomTimelineItemFactory: RoomTimelineItemFactoryProtocol {
formattedCaption: formattedCaption, formattedCaption: formattedCaption,
formattedCaptionHTMLString: htmlCaption, formattedCaptionHTMLString: htmlCaption,
source: MediaSourceProxy(source: messageContent.source, mimeType: messageContent.info?.mimetype), source: MediaSourceProxy(source: messageContent.source, mimeType: messageContent.info?.mimetype),
fileSize: messageContent.info?.size.map(UInt.init),
thumbnailSource: thumbnailSource, thumbnailSource: thumbnailSource,
contentType: UTType(mimeType: messageContent.info?.mimetype, fallbackFilename: messageContent.filename)) contentType: UTType(mimeType: messageContent.info?.mimetype, fallbackFilename: messageContent.filename))
} }
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:fa607ea20134baf6191f63c8779cf36e992c040f5819b798c9be56fd22098593 oid sha256:11690714e9762d729ca2b9777494f4ffe479ca03b95e282c6dafcbcd0c6e47d1
size 76297 size 99579
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:fa607ea20134baf6191f63c8779cf36e992c040f5819b798c9be56fd22098593 oid sha256:d029be2d41fb70268aafe9e252edea552014545591c9f06ddb5abbb7b872ad88
size 76297 size 102503
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:470baef15b29e19a7ae58a12682d590baa1f7759b0915f2e96f5594cc0eed1c2 oid sha256:6d06795ef84b2f9eef65341825a0dcef00f5c0e646a0a441824b9a656eb57ef7
size 35522 size 55300
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:470baef15b29e19a7ae58a12682d590baa1f7759b0915f2e96f5594cc0eed1c2 oid sha256:796fe32ebed61725457773d6bc27768f2a38fd5af2c0492fcd488125f8126fd0
size 35522 size 57907
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:4f624a30e09d9565a05f87d05ccf04078398f143b7932dac46667be81cb3e62b oid sha256:90f04fdb63831afb462488dc0afbcf78e9a2c1f8ccfae3855432d6b23f23f0d4
size 97559 size 137263
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:4f624a30e09d9565a05f87d05ccf04078398f143b7932dac46667be81cb3e62b oid sha256:daf4fbf2db6fb4412d80e949cb4374a5aa456bd1458919ee1d90f36fead48d07
size 97559 size 141084
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:1aa13a458240d535e549c8807310618cefa9d668e77fb0e7e961c247f1f16cd3 oid sha256:a938ef5e6940b0f3c65a345db8c34b648873a7f2037f154569f22fa35e71aaa6
size 55007 size 89747
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:1aa13a458240d535e549c8807310618cefa9d668e77fb0e7e961c247f1f16cd3 oid sha256:3615b93b61f8eb6baa432734763d405fe3f6b679d67e11a25277e760188f8189
size 55007 size 93512
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:b45a09f5c5f8ef2b33a9df690d89593a033bd059b54c5c2ab8c0f93f0276d849 oid sha256:31312441ddb1fe7fa2676ec39ae63baded5f37dfb15885a4b1ba60c57bd2aa6f
size 792454 size 779529
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:94dfce790f72ce05f4dc60fb3c1d496c75ff9cd4cf0d399642c04a3cd55939c4 oid sha256:dcfa8241cb8d5e245905a542a42ab355468dbfad3c98d2470ddcc777de7cd877
size 182264 size 186237
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:b45a09f5c5f8ef2b33a9df690d89593a033bd059b54c5c2ab8c0f93f0276d849 oid sha256:31312441ddb1fe7fa2676ec39ae63baded5f37dfb15885a4b1ba60c57bd2aa6f
size 792454 size 779529
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:bd08759268776f28320c82083904dbdfce23f28dbc5d5d33ee421f0a749f06b6 oid sha256:53bfc5618c802866c2c1d611940c608cc444cd4f190043d2419ef639b134025c
size 189871 size 193601
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:03de5c32a0b0e47ea2b2d54214048fa1f9dadd7a7bed970af935d1c1ca0cf7ce oid sha256:8cf67596ee0f149f600c1d5f4a61916683e56fbe303db96259f3b8d610d9afd0
size 445294 size 437588
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:ee12fa3438d396b0e7ef5abe50ca4c3fdfd906578e36e1b94b19fdbdeba50775 oid sha256:04e188585bab8bcd1865df322954ca66db33162a534d9fa4e8066639fb509789
size 135556 size 135546
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:03de5c32a0b0e47ea2b2d54214048fa1f9dadd7a7bed970af935d1c1ca0cf7ce oid sha256:8cf67596ee0f149f600c1d5f4a61916683e56fbe303db96259f3b8d610d9afd0
size 445294 size 437588
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:de203ede489e3b3a48dc5cf171a0faa86f56b7993e4372c124b48d34632c9389 oid sha256:4cdcf82c941481d377b72600aa68130fe1bdd81f459a6d60f10cf61366a6e862
size 138215 size 138005
+1
View File
@@ -173,6 +173,7 @@ class LoggingTests: XCTestCase {
content: .init(filename: "FileString", content: .init(filename: "FileString",
caption: "FileString", caption: "FileString",
source: nil, source: nil,
fileSize: nil,
thumbnailSource: nil, thumbnailSource: nil,
contentType: nil)) contentType: nil))
+1 -1
View File
@@ -65,7 +65,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: f0436aa767f614584bf119defa6372ddb3b60080 revision: 901f3f2fc150db82cf8a2c4da53914b31f681b56
# 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