From 8cf054ef30d3a124e75f9729fdff89b7e58ebcbc Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Thu, 23 Jan 2025 02:14:23 +0400 Subject: [PATCH] Various improvements --- Telegram/Telegram-iOS/en.lproj/Localizable.strings | 1 + .../MediaEditorScreen/Sources/MediaEditorDrafts.swift | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Telegram/Telegram-iOS/en.lproj/Localizable.strings b/Telegram/Telegram-iOS/en.lproj/Localizable.strings index 2b49053889..c7717f10d4 100644 --- a/Telegram/Telegram-iOS/en.lproj/Localizable.strings +++ b/Telegram/Telegram-iOS/en.lproj/Localizable.strings @@ -13642,6 +13642,7 @@ Sorry for the inconvenience."; "Premium.Gift.ContactSelection.ThisIsYou" = "THIS IS YOU"; "Premium.Gift.ContactSelection.BuySelf" = "buy yourself a gift"; +"Premium.Gift.ContactSelection.TransferSelf" = "send yourself a gift"; "Gift.View.Outgoing.NameHidden" = "Only %@ can see your name."; "Gift.View.Outgoing.NameAndMessageHidden" = "Only %@ can see your name and message."; diff --git a/submodules/TelegramUI/Components/MediaEditorScreen/Sources/MediaEditorDrafts.swift b/submodules/TelegramUI/Components/MediaEditorScreen/Sources/MediaEditorDrafts.swift index 29bc6f6f06..b9369f323d 100644 --- a/submodules/TelegramUI/Components/MediaEditorScreen/Sources/MediaEditorDrafts.swift +++ b/submodules/TelegramUI/Components/MediaEditorScreen/Sources/MediaEditorDrafts.swift @@ -24,6 +24,9 @@ extension MediaEditorScreenImpl { if case .avatarEditor = self.mode { return false } + if case .coverEditor = self.mode { + return false + } let filteredEntities = self.node.entitiesView.entities.filter { entity in if entity is DrawingMediaEntity {