QR Code error views (#2678)

Co-authored-by: Doug <douglase@element.io>
This commit is contained in:
Mauro
2024-04-11 10:32:56 +02:00
committed by GitHub
parent eda7d59518
commit 9bc24e2038
21 changed files with 202 additions and 25 deletions
@@ -901,6 +901,18 @@ class ApplicationMock: ApplicationProtocol {
openReceivedInvocations.append(url)
openClosure?(url)
}
//MARK: - openAppSettings
var openAppSettingsCallsCount = 0
var openAppSettingsCalled: Bool {
return openAppSettingsCallsCount > 0
}
var openAppSettingsClosure: (() -> Void)?
func openAppSettings() {
openAppSettingsCallsCount += 1
openAppSettingsClosure?()
}
}
class AudioConverterMock: AudioConverterProtocol {