Various fixes

This commit is contained in:
Ilya Laktyushin 2022-04-20 14:59:48 +04:00
parent 6b25fa3e4b
commit a437ae2860

View File

@ -139,6 +139,8 @@ final class WebpagePreviewAccessoryPanelNode: AccessoryPanelNode {
}
} else if content.type == "telegram_theme" {
text = strings.Message_Theme
} else if content.type == "video" {
text = stringForMediaKind(.video, strings: self.strings).0
} else if let _ = content.image {
text = stringForMediaKind(.image, strings: self.strings).0
}