mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-11-07 09:20:08 +00:00
Fix menu
This commit is contained in:
parent
9c47496253
commit
0c9b15b181
@ -3859,6 +3859,7 @@ public final class PeerInfoStoryPaneNode: ASDisplayNode, PeerInfoPaneNode, ASScr
|
|||||||
})))
|
})))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if self.canManageStories {
|
||||||
//TODO:localize
|
//TODO:localize
|
||||||
items.append(.action(ContextMenuActionItem(text: "Rename Album", icon: { theme in generateTintedImage(image: UIImage(bundleImageName: "Chat/Context Menu/Edit"), color: theme.contextMenu.primaryColor) }, action: { [weak self] _, f in
|
items.append(.action(ContextMenuActionItem(text: "Rename Album", icon: { theme in generateTintedImage(image: UIImage(bundleImageName: "Chat/Context Menu/Edit"), color: theme.contextMenu.primaryColor) }, action: { [weak self] _, f in
|
||||||
guard let self else {
|
guard let self else {
|
||||||
@ -3882,6 +3883,7 @@ public final class PeerInfoStoryPaneNode: ASDisplayNode, PeerInfoPaneNode, ASScr
|
|||||||
|
|
||||||
self.shareFolder(id: folder.id)
|
self.shareFolder(id: folder.id)
|
||||||
})))
|
})))
|
||||||
|
}
|
||||||
|
|
||||||
if self.canManageStories {
|
if self.canManageStories {
|
||||||
//TODO:localize
|
//TODO:localize
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user