From aa5ad8e1944995e1a3fab6269abdff6809f012a2 Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Thu, 25 Jul 2024 21:48:06 +0200 Subject: [PATCH] Various fixes --- .../Sources/StoryItemSetContainerComponent.swift | 4 ++-- .../EditCover.imageset/Contents.json | 12 ++++++++++++ .../EditCover.imageset/storycover_24.pdf | Bin 0 -> 2441 bytes 3 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 submodules/TelegramUI/Images.xcassets/Stories/Context Menu/EditCover.imageset/Contents.json create mode 100644 submodules/TelegramUI/Images.xcassets/Stories/Context Menu/EditCover.imageset/storycover_24.pdf diff --git a/submodules/TelegramUI/Components/Stories/StoryContainerScreen/Sources/StoryItemSetContainerComponent.swift b/submodules/TelegramUI/Components/Stories/StoryContainerScreen/Sources/StoryItemSetContainerComponent.swift index 4c70ed44a4..1da76de05d 100644 --- a/submodules/TelegramUI/Components/Stories/StoryContainerScreen/Sources/StoryItemSetContainerComponent.swift +++ b/submodules/TelegramUI/Components/Stories/StoryContainerScreen/Sources/StoryItemSetContainerComponent.swift @@ -6120,7 +6120,7 @@ public final class StoryItemSetContainerComponent: Component { if case .file = component.slice.item.storyItem.media { items.append(.action(ContextMenuActionItem(text: component.strings.Story_Context_EditCover, icon: { theme in - return generateTintedImage(image: UIImage(bundleImageName: "Chat/Context Menu/Edit"), color: theme.contextMenu.primaryColor) + return generateTintedImage(image: UIImage(bundleImageName: "Stories/Context Menu/EditCover"), color: theme.contextMenu.primaryColor) }, action: { [weak self] _, a in a(.default) @@ -6318,7 +6318,7 @@ public final class StoryItemSetContainerComponent: Component { if case .file = component.slice.item.storyItem.media { items.append(.action(ContextMenuActionItem(text: component.strings.Story_Context_EditCover, icon: { theme in - return generateTintedImage(image: UIImage(bundleImageName: "Chat/Context Menu/Edit"), color: theme.contextMenu.primaryColor) + return generateTintedImage(image: UIImage(bundleImageName: "Stories/Context Menu/EditCover"), color: theme.contextMenu.primaryColor) }, action: { [weak self] _, a in a(.default) diff --git a/submodules/TelegramUI/Images.xcassets/Stories/Context Menu/EditCover.imageset/Contents.json b/submodules/TelegramUI/Images.xcassets/Stories/Context Menu/EditCover.imageset/Contents.json new file mode 100644 index 0000000000..b6215a7a9d --- /dev/null +++ b/submodules/TelegramUI/Images.xcassets/Stories/Context Menu/EditCover.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "filename" : "storycover_24.pdf", + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/submodules/TelegramUI/Images.xcassets/Stories/Context Menu/EditCover.imageset/storycover_24.pdf b/submodules/TelegramUI/Images.xcassets/Stories/Context Menu/EditCover.imageset/storycover_24.pdf new file mode 100644 index 0000000000000000000000000000000000000000..cef5ed510f48da9496feae5a6ff82a121de451a9 GIT binary patch literal 2441 zcmZXWdpy(oAII&K+m00Fc5?X=GPl_g9#)&{}&AZuMV{i2%-@v0Mt4NMGr8f8{r(YJP zwb8CC4tm8_)m@*DgA*D4-NYV`k3v< z-wcxd9ouIk)7-lJivDazTaAvLQs`m9kAUV1NXNs%w5i(t_{O>mwk&n?Wo~`Z-KP;H zQOHK72HRchO+n$s4?5~L$uEg&%JXpc1eKWj;vIc9?9Il@W5)NH?SnfxEbU})ge`Js zx|dj6SEZNrxxHE>E^S)F;)*n4u&N9#qIpbi^S+E-9I~B&x!aK|LtIgB%hq#EI+-tn z@o9$wYe^>48pD4 z2eB+IEr?^6l^sTVSNzqR4WdF(4|Eg(_lpBtz>||8Q%j5@S5v(G(xtxOZW#A~rc2Ou z6Bz?p35KlO{hKt#HZ{uK;zFMkc#LgQ5>{kyuZQbNOpA3A+R*r2OhReR^yyF5$`;v- zlKaS(PvW(IRJUC2?BR}$_Z)=SLv>o(=7jDAyw5lhld;io8ix3*+BmZao@w;-0G^(J z6hj)M`uE87S{#-x(?yHt`6JlH6nTlnxJOs7qEyD}yd|?!FK}v4KzbXQN;2}HlB%0$ z92OIU-?ooS`wH#%#zxwj)u%P&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