mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Fix more warnings
This commit is contained in:
@@ -27,8 +27,9 @@
|
||||
self = [super initWithFrame:frame];
|
||||
if (self != nil)
|
||||
{
|
||||
if (iosMajorVersion() >= 11)
|
||||
if (@available(iOS 11.0, *)) {
|
||||
self.accessibilityIgnoresInvertColors = true;
|
||||
}
|
||||
|
||||
_label = [[TGGradientLabel alloc] init];
|
||||
_label.backgroundColor = [UIColor clearColor];
|
||||
|
||||
Reference in New Issue
Block a user