Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump SDK version and fix breaking changes. #703

Merged
merged 3 commits into from
Mar 15, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/matrix-org/matrix-rust-components-swift",
"state" : {
"revision" : "8d7ace5140d0f024b9a03939cdff29c837dc5645",
"version" : "1.0.45-alpha"
"revision" : "6e9c8b7f0f68fd8e617e9d6c1ad902736899557a",
"version" : "1.0.46-alpha"
}
},
{
Expand Down
4 changes: 2 additions & 2 deletions ElementX/Sources/Services/Media/MediaLoader.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ actor MediaLoader: MediaLoaderProtocol {

func loadMediaContentForSource(_ source: MediaSourceProxy) async throws -> Data {
try await enqueueLoadMediaRequest(forSource: source) {
try self.client.getMediaContent(source: source.underlyingSource)
try self.client.getMediaContent(mediaSource: source.underlyingSource)
}
}

func loadMediaThumbnailForSource(_ source: MediaSourceProxy, width: UInt, height: UInt) async throws -> Data {
try await enqueueLoadMediaRequest(forSource: source) {
try self.client.getMediaThumbnail(source: source.underlyingSource, width: UInt64(width), height: UInt64(height))
try self.client.getMediaThumbnail(mediaSource: source.underlyingSource, width: UInt64(width), height: UInt64(height))
}
}

Expand Down
1 change: 1 addition & 0 deletions changelog.d/pr-703.change
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Bump the SDK version and fix breaking changes.
2 changes: 1 addition & 1 deletion project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ include:
packages:
MatrixRustSDK:
url: https://github.com/matrix-org/matrix-rust-components-swift
exactVersion: 1.0.45-alpha
exactVersion: 1.0.46-alpha
# path: ../matrix-rust-sdk
DesignKit:
path: DesignKit
Expand Down