Update the SDK. (#5369)
This commit is contained in:
@@ -10019,7 +10019,7 @@
|
||||
repositoryURL = "https://github.com/element-hq/matrix-rust-components-swift";
|
||||
requirement = {
|
||||
kind = exactVersion;
|
||||
version = 26.04.08;
|
||||
version = 26.04.09;
|
||||
};
|
||||
};
|
||||
701C7BEF8F70F7A83E852DCC /* XCRemoteSwiftPackageReference "GZIP" */ = {
|
||||
|
||||
@@ -158,8 +158,8 @@
|
||||
"kind" : "remoteSourceControl",
|
||||
"location" : "https://github.com/element-hq/matrix-rust-components-swift",
|
||||
"state" : {
|
||||
"revision" : "5e29106fa819972e5aaf5d9e1e440bc206d649ea",
|
||||
"version" : "26.4.8"
|
||||
"revision" : "aa73f6e49bdb5650739ba41ce566e81ee4815d4b",
|
||||
"version" : "26.4.9"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@@ -11525,17 +11525,17 @@ open class LazyTimelineItemProviderSDKMock: MatrixRustSDK.LazyTimelineItemProvid
|
||||
}
|
||||
}
|
||||
|
||||
//MARK: - latestContentRaw
|
||||
//MARK: - latestJson
|
||||
|
||||
open var latestContentRawUnderlyingCallsCount = 0
|
||||
open var latestContentRawCallsCount: Int {
|
||||
open var latestJsonUnderlyingCallsCount = 0
|
||||
open var latestJsonCallsCount: Int {
|
||||
get {
|
||||
if Thread.isMainThread {
|
||||
return latestContentRawUnderlyingCallsCount
|
||||
return latestJsonUnderlyingCallsCount
|
||||
} else {
|
||||
var returnValue: Int? = nil
|
||||
DispatchQueue.main.sync {
|
||||
returnValue = latestContentRawUnderlyingCallsCount
|
||||
returnValue = latestJsonUnderlyingCallsCount
|
||||
}
|
||||
|
||||
return returnValue!
|
||||
@@ -11543,27 +11543,27 @@ open class LazyTimelineItemProviderSDKMock: MatrixRustSDK.LazyTimelineItemProvid
|
||||
}
|
||||
set {
|
||||
if Thread.isMainThread {
|
||||
latestContentRawUnderlyingCallsCount = newValue
|
||||
latestJsonUnderlyingCallsCount = newValue
|
||||
} else {
|
||||
DispatchQueue.main.sync {
|
||||
latestContentRawUnderlyingCallsCount = newValue
|
||||
latestJsonUnderlyingCallsCount = newValue
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
open var latestContentRawCalled: Bool {
|
||||
return latestContentRawCallsCount > 0
|
||||
open var latestJsonCalled: Bool {
|
||||
return latestJsonCallsCount > 0
|
||||
}
|
||||
|
||||
open var latestContentRawUnderlyingReturnValue: String?
|
||||
open var latestContentRawReturnValue: String? {
|
||||
open var latestJsonUnderlyingReturnValue: String?
|
||||
open var latestJsonReturnValue: String? {
|
||||
get {
|
||||
if Thread.isMainThread {
|
||||
return latestContentRawUnderlyingReturnValue
|
||||
return latestJsonUnderlyingReturnValue
|
||||
} else {
|
||||
var returnValue: String?? = nil
|
||||
DispatchQueue.main.sync {
|
||||
returnValue = latestContentRawUnderlyingReturnValue
|
||||
returnValue = latestJsonUnderlyingReturnValue
|
||||
}
|
||||
|
||||
return returnValue!
|
||||
@@ -11571,22 +11571,22 @@ open class LazyTimelineItemProviderSDKMock: MatrixRustSDK.LazyTimelineItemProvid
|
||||
}
|
||||
set {
|
||||
if Thread.isMainThread {
|
||||
latestContentRawUnderlyingReturnValue = newValue
|
||||
latestJsonUnderlyingReturnValue = newValue
|
||||
} else {
|
||||
DispatchQueue.main.sync {
|
||||
latestContentRawUnderlyingReturnValue = newValue
|
||||
latestJsonUnderlyingReturnValue = newValue
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
open var latestContentRawClosure: (() -> String?)?
|
||||
open var latestJsonClosure: (() -> String?)?
|
||||
|
||||
open override func latestContentRaw() -> String? {
|
||||
latestContentRawCallsCount += 1
|
||||
if let latestContentRawClosure = latestContentRawClosure {
|
||||
return latestContentRawClosure()
|
||||
open override func latestJson() -> String? {
|
||||
latestJsonCallsCount += 1
|
||||
if let latestJsonClosure = latestJsonClosure {
|
||||
return latestJsonClosure()
|
||||
} else {
|
||||
return latestContentRawReturnValue
|
||||
return latestJsonReturnValue
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@ packages:
|
||||
# Element/Matrix dependencies
|
||||
MatrixRustSDK:
|
||||
url: https://github.com/element-hq/matrix-rust-components-swift
|
||||
exactVersion: 26.04.08
|
||||
exactVersion: 26.04.09
|
||||
# path: ../matrix-rust-sdk
|
||||
Compound:
|
||||
path: compound-ios
|
||||
|
||||
Reference in New Issue
Block a user