mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:06:00 +00:00
Content Scanning View (#5831)
* implement a MediaView to delegate at the view level the usage of the content scanner service, to determine how to render the media. * fix for a small design mismatch * fix for greedy error state * updated naming * just making some screenshot that have been affected by a string change on Localazy * pr suggestions + updated strings
This commit is contained in:
@@ -11,6 +11,7 @@ import Foundation
|
||||
|
||||
struct UserSessionMockConfiguration {
|
||||
var clientProxy: ClientProxyProtocol = ClientProxyMock(.init())
|
||||
var contentScannerService: ContentScannerServiceProtocol?
|
||||
}
|
||||
|
||||
@MainActor extension UserSessionMock {
|
||||
@@ -20,6 +21,7 @@ struct UserSessionMockConfiguration {
|
||||
clientProxy = configuration.clientProxy
|
||||
mediaProvider = MediaProviderMock(.init())
|
||||
voiceMessageMediaManager = VoiceMessageMediaManagerMock()
|
||||
contentScannerService = configuration.contentScannerService
|
||||
|
||||
sessionSecurityStatePublisher = CurrentValueSubject<SessionSecurityState, Never>(.init(verificationState: .verified, recoveryState: .enabled)).asCurrentValuePublisher()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user