mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-11-29 11:25:38 +00:00
Fix build
This commit is contained in:
parent
a2f2411eaa
commit
271682488a
@ -10598,6 +10598,6 @@ Sorry for the inconvenience.";
|
|||||||
"Chat.Reactions.MultiplePremiumTooltip" = "You can set multiple reactions with [Telegram Premium]().";
|
"Chat.Reactions.MultiplePremiumTooltip" = "You can set multiple reactions with [Telegram Premium]().";
|
||||||
|
|
||||||
"Notification.Wallpaper.Remove" = "Remove";
|
"Notification.Wallpaper.Remove" = "Remove";
|
||||||
"Char.RemoveWallpaper.Title" = "Remove Wallpaper";
|
"Chat.RemoveWallpaper.Title" = "Remove Wallpaper";
|
||||||
"Char.RemoveWallpaper.Text" = "Are you sure you want to reset the wallpaper?";
|
"Chat.RemoveWallpaper.Text" = "Are you sure you want to reset the wallpaper?";
|
||||||
"Char.RemoveWallpaper.Remove" = "Remove";
|
"Chat.RemoveWallpaper.Remove" = "Remove";
|
||||||
|
|||||||
@ -197,7 +197,9 @@ public class ChatMessageWallpaperBubbleContentNode: ChatMessageBubbleContentNode
|
|||||||
let controller = textAlertController(context: item.context, title: item.presentationData.strings.Chat_RemoveWallpaper_Title, text: item.presentationData.strings.Chat_RemoveWallpaper_Text, actions: [
|
let controller = textAlertController(context: item.context, title: item.presentationData.strings.Chat_RemoveWallpaper_Title, text: item.presentationData.strings.Chat_RemoveWallpaper_Text, actions: [
|
||||||
TextAlertAction(type: .genericAction, title: item.presentationData.strings.Common_Cancel, action: {}),
|
TextAlertAction(type: .genericAction, title: item.presentationData.strings.Common_Cancel, action: {}),
|
||||||
TextAlertAction(type: .destructiveAction, title: item.presentationData.strings.Chat_RemoveWallpaper_Remove, action: { [weak item] in
|
TextAlertAction(type: .destructiveAction, title: item.presentationData.strings.Chat_RemoveWallpaper_Remove, action: { [weak item] in
|
||||||
let _ = item?.context.engine.themes.revertChatWallpaper(peerId: item.message.id.peerId).startStandalone()
|
if let item {
|
||||||
|
let _ = item.context.engine.themes.revertChatWallpaper(peerId: item.message.id.peerId).startStandalone()
|
||||||
|
}
|
||||||
})
|
})
|
||||||
])
|
])
|
||||||
item.controllerInteraction.presentController(controller, nil)
|
item.controllerInteraction.presentController(controller, nil)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user