mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-23 22:12:43 +00:00
69 lines
752 B
Objective-C
69 lines
752 B
Objective-C
|
|
|
|
#import "TGWallpaperInfo.h"
|
|
|
|
@implementation TGWallpaperInfo
|
|
|
|
- (NSString *)thumbnailUrl
|
|
{
|
|
return nil;
|
|
}
|
|
|
|
- (NSString *)fullscreenUrl
|
|
{
|
|
return nil;
|
|
}
|
|
|
|
- (int)tintColor
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
- (CGFloat)systemAlpha
|
|
{
|
|
return 0.25f;
|
|
}
|
|
|
|
- (CGFloat)buttonsAlpha
|
|
{
|
|
return 0.35f;
|
|
}
|
|
|
|
- (CGFloat)highlightedButtonAlpha
|
|
{
|
|
return 0.50f;
|
|
}
|
|
|
|
- (CGFloat)progressAlpha
|
|
{
|
|
return 0.35f;
|
|
}
|
|
|
|
- (UIImage *)image
|
|
{
|
|
return nil;
|
|
}
|
|
|
|
- (NSData *)imageData
|
|
{
|
|
return nil;
|
|
}
|
|
|
|
- (bool)hasData
|
|
{
|
|
return false;
|
|
}
|
|
|
|
- (NSDictionary *)infoDictionary
|
|
{
|
|
return @{};
|
|
}
|
|
|
|
+ (TGWallpaperInfo *)infoWithDictionary:(NSDictionary *)dict
|
|
{
|
|
Class className = NSClassFromString(dict[@"_className"]);
|
|
return [className infoWithDictionary:dict];
|
|
}
|
|
|
|
@end
|