mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-16 03:09:56 +00:00
Don't allow to share fake wallpaper preview
This commit is contained in:
parent
e8c4f28bec
commit
0660793d21
@ -337,7 +337,11 @@ final class WallpaperGalleryItemNode: GalleryItemNode {
|
||||
} else {
|
||||
subtitleSignal = .single(nil)
|
||||
}
|
||||
actionSignal = .single(defaultAction)
|
||||
if file.id == 0 {
|
||||
actionSignal = .single(nil)
|
||||
} else {
|
||||
actionSignal = .single(defaultAction)
|
||||
}
|
||||
case let .image(representations, _):
|
||||
if let largestSize = largestImageRepresentation(representations) {
|
||||
contentSize = largestSize.dimensions.cgSize
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user