mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Comments update [skip ci]
This commit is contained in:
@@ -160,7 +160,9 @@ static void setBoolField(CustomBlurEffect *object, NSString *name, BOOL value) {
|
||||
}
|
||||
|
||||
UIBlurEffect *makeCustomZoomBlurEffectImpl() {
|
||||
if (@available(iOS 11.0, *)) {
|
||||
if (@available(iOS 13.0, *)) {
|
||||
return [UIBlurEffect effectWithStyle:UIBlurEffectStyleSystemUltraThinMaterialLight];
|
||||
} else if (@available(iOS 11.0, *)) {
|
||||
NSString *string = [@[@"_", @"UI", @"Custom", @"BlurEffect"] componentsJoinedByString:@""];
|
||||
CustomBlurEffect *result = (CustomBlurEffect *)[NSClassFromString(string) effectWithStyle:0];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user