Skip to content

Commit 2345c77

Browse files
committed
- bug fixes
1 parent 1f28e13 commit 2345c77

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Telegram-Mac/StoryMediaController.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -986,12 +986,15 @@ final class StoryMediaController : TelegramGenericViewController<StoryMediaView>
986986
}, itemImage: MenuAnimation.menu_edit.value))
987987

988988
//TODOLANG
989+
#if DEBUG
989990
if state.access(context.peerId), !self.isArchived {
990991
items.append(ContextSeparatorItem())
991992
items.append(ContextMenuItem("Add Folder", handler: { [weak self] in
992993
self?.addCollection()
993994
}, itemImage: MenuAnimation.menu_add.value))
994995
}
996+
#endif
997+
995998

996999

9971000

0 commit comments

Comments
 (0)