Various fixes

This commit is contained in:
Ilya Laktyushin 2024-07-25 21:48:06 +02:00
parent 4414753d7f
commit aa5ad8e194
3 changed files with 14 additions and 2 deletions

View File

@ -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)

View File

@ -0,0 +1,12 @@
{
"images" : [
{
"filename" : "storycover_24.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}