mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Show room encryption state in the composer (#3841)
* Fixes #3835 - Show room encryption state in the composer * Update the preview test snapshots * Update the UI test snapshots.
This commit is contained in:
+2
-2
@@ -69,7 +69,7 @@ struct MediaUploadPreviewScreen: View {
|
||||
captionWarningButton
|
||||
}
|
||||
}
|
||||
.messageComposerStyle()
|
||||
.messageComposerStyle(isEncrypted: context.viewState.isRoomEncrypted)
|
||||
|
||||
SendButton {
|
||||
context.send(viewAction: .send)
|
||||
@@ -228,7 +228,7 @@ struct MediaUploadPreviewScreen_Previews: PreviewProvider, TestablePreview {
|
||||
static let testURL = Bundle.main.url(forResource: "AppIcon60x60@2x", withExtension: "png")
|
||||
|
||||
static let viewModel = MediaUploadPreviewScreenViewModel(userIndicatorController: UserIndicatorControllerMock.default,
|
||||
roomProxy: JoinedRoomProxyMock(),
|
||||
roomProxy: JoinedRoomProxyMock(.init()),
|
||||
mediaUploadingPreprocessor: MediaUploadingPreprocessor(appSettings: ServiceLocator.shared.settings),
|
||||
title: "App Icon.png",
|
||||
url: snapshotURL,
|
||||
|
||||
Reference in New Issue
Block a user