mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-18 11:30:04 +00:00
26 lines
883 B
Objective-C
26 lines
883 B
Objective-C
#import "TGItemPreviewView.h"
|
|
|
|
#import <LegacyComponents/LegacyComponentsContext.h>
|
|
|
|
@interface TGItemMenuSheetPreviewView : TGItemPreviewView
|
|
{
|
|
UIView *_containerView;
|
|
}
|
|
|
|
@property (nonatomic, assign) bool presentActionsImmediately;
|
|
@property (nonatomic, assign) bool dontBlurOnPresentation;
|
|
@property (nonatomic, readonly) bool actionsPresented;
|
|
|
|
- (instancetype)initWithContext:(id<LegacyComponentsContext>)context frame:(CGRect)frame;
|
|
- (instancetype)initWithContext:(id<LegacyComponentsContext>)context mainItemViews:(NSArray *)mainItemViews actionItemViews:(NSArray *)actionItemViews;
|
|
- (void)setupWithMainItemViews:(NSArray *)mainItemViews actionItemViews:(NSArray *)actionItemViews;
|
|
|
|
- (void)setActionItemViews:(NSArray *)actionsView animated:(bool)animated;
|
|
|
|
- (void)performCommit;
|
|
- (void)performDismissal;
|
|
|
|
- (void)presentActions:(void (^)(void))animationBlock;
|
|
|
|
@end
|