Fix build

This commit is contained in:
Ilya Laktyushin 2023-07-07 07:06:36 +02:00
parent dc0d4d25bf
commit 9a875f27b2

View File

@ -405,7 +405,7 @@ public final class MediaPickerScreen: ViewController, AttachmentContainable {
self.gridNode.scrollView.alwaysBounceVertical = true
self.gridNode.scrollView.showsVerticalScrollIndicator = false
if case let .assets(_, mode) = controller.subject, [.wallpaper .addImage, .story].contains(mode) {
if case let .assets(_, mode) = controller.subject, [.wallpaper, .story, .addImage].contains(mode) {
} else {
let selectionGesture = MediaPickerGridSelectionGesture<TGMediaSelectableItem>()