mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Use NS_ENUM for video enumerated types (#2819)
This commit is contained in:
@@ -19,14 +19,14 @@
|
||||
@class AVAsset;
|
||||
@protocol ASVideoPlayerNodeDelegate;
|
||||
|
||||
typedef enum {
|
||||
typedef NS_ENUM(NSInteger, ASVideoPlayerNodeControlType) {
|
||||
ASVideoPlayerNodeControlTypePlaybackButton,
|
||||
ASVideoPlayerNodeControlTypeElapsedText,
|
||||
ASVideoPlayerNodeControlTypeDurationText,
|
||||
ASVideoPlayerNodeControlTypeScrubber,
|
||||
ASVideoPlayerNodeControlTypeFullScreenButton,
|
||||
ASVideoPlayerNodeControlTypeFlexGrowSpacer,
|
||||
} ASVideoPlayerNodeControlType;
|
||||
};
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
|
||||
Reference in New Issue
Block a user