mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Add a Link New Device screen (behind a feature flag). (#4811)
This commit is contained in:
@@ -2332,6 +2332,23 @@ class ClientProxyMock: ClientProxyProtocol, @unchecked Sendable {
|
||||
}
|
||||
var underlyingIsLiveKitRTCSupported: Bool!
|
||||
var isLiveKitRTCSupportedClosure: (() async -> Bool)?
|
||||
var isLoginWithQRCodeSupportedCallsCount = 0
|
||||
var isLoginWithQRCodeSupportedCalled: Bool {
|
||||
return isLoginWithQRCodeSupportedCallsCount > 0
|
||||
}
|
||||
|
||||
var isLoginWithQRCodeSupported: Bool {
|
||||
get async {
|
||||
isLoginWithQRCodeSupportedCallsCount += 1
|
||||
if let isLoginWithQRCodeSupportedClosure = isLoginWithQRCodeSupportedClosure {
|
||||
return await isLoginWithQRCodeSupportedClosure()
|
||||
} else {
|
||||
return underlyingIsLoginWithQRCodeSupported
|
||||
}
|
||||
}
|
||||
}
|
||||
var underlyingIsLoginWithQRCodeSupported: Bool!
|
||||
var isLoginWithQRCodeSupportedClosure: (() async -> Bool)?
|
||||
var maxMediaUploadSizeCallsCount = 0
|
||||
var maxMediaUploadSizeCalled: Bool {
|
||||
return maxMediaUploadSizeCallsCount > 0
|
||||
|
||||
Reference in New Issue
Block a user