Update SDK to 1.0.63 (#869)

* bump sdk to 1.0.63

* code improvement
This commit is contained in:
Mauro
2023-05-10 13:36:40 +02:00
committed by GitHub
parent 7aa5078535
commit cbf68eccf6
4 changed files with 5 additions and 5 deletions

View File

@@ -111,8 +111,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/matrix-org/matrix-rust-components-swift",
"state" : {
"revision" : "3ea7abc7ceb51577724b499209f5b6b3fe2cfcde",
"version" : "1.0.62-alpha"
"revision" : "7fadc676f8fa566c5ab3c7407ed202e0e66a1b3c",
"version" : "1.0.63-alpha"
}
},
{

View File

@@ -433,7 +433,7 @@ class RoomProxy: RoomProxyProtocol {
await Task.dispatch(on: .global()) {
do {
MXLog.info("Fetching event details for \(eventID)")
try self.room.fetchEventDetails(eventId: eventID)
try self.room.fetchDetailsForEvent(eventId: eventID)
} catch {
MXLog.error("Failed fetching event details for \(eventID) with error: \(error)")
}

View File

@@ -84,7 +84,7 @@ class HomeScreenViewModelTests: XCTestCase {
room.leaveRoomClosure = { .failure(.failedLeavingRoom) }
clientProxy.roomForIdentifierMocks[mockRoomId] = room
context.send(viewAction: .confirmLeaveRoom(roomIdentifier: mockRoomId))
let newState = await context.nextViewState()
await context.nextViewState()
XCTAssertNotNil(context.alertInfo)
}

View File

@@ -42,7 +42,7 @@ include:
packages:
MatrixRustSDK:
url: https://github.com/matrix-org/matrix-rust-components-swift
exactVersion: 1.0.62-alpha
exactVersion: 1.0.63-alpha
# path: ../matrix-rust-sdk
DesignKit:
path: DesignKit