This commit is contained in:
Isaac 2025-07-22 18:24:46 +02:00
parent 9c47496253
commit 0c9b15b181

View File

@ -3859,6 +3859,7 @@ public final class PeerInfoStoryPaneNode: ASDisplayNode, PeerInfoPaneNode, ASScr
})))
}
if self.canManageStories {
//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
guard let self else {
@ -3882,6 +3883,7 @@ public final class PeerInfoStoryPaneNode: ASDisplayNode, PeerInfoPaneNode, ASScr
self.shareFolder(id: folder.id)
})))
}
if self.canManageStories {
//TODO:localize