mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Refactoring
This commit is contained in:
@@ -128,7 +128,7 @@ final class WebpagePreviewAccessoryPanelNode: AccessoryPanelNode {
|
||||
if let contentText = content.text {
|
||||
text = contentText
|
||||
} else {
|
||||
if let file = content.file, let mediaKind = mediaContentKind(file) {
|
||||
if let file = content.file, let mediaKind = mediaContentKind(EngineMedia(file)) {
|
||||
if content.type == "telegram_background" {
|
||||
text = strings.Message_Wallpaper
|
||||
} else if content.type == "telegram_theme" {
|
||||
|
||||
Reference in New Issue
Block a user