diff --git a/submodules/LegacyComponents/Sources/TGPhotoEditorInterfaceAssets.m b/submodules/LegacyComponents/Sources/TGPhotoEditorInterfaceAssets.m index dff5ea951f..0a607a3127 100644 --- a/submodules/LegacyComponents/Sources/TGPhotoEditorInterfaceAssets.m +++ b/submodules/LegacyComponents/Sources/TGPhotoEditorInterfaceAssets.m @@ -244,7 +244,7 @@ CGContextSetFillColorWithColor(context, [UIColor whiteColor].CGColor); CGContextFillPath(context); } else { - CGContextSetStrokeColorWithColor(context, [UIColor whiteColor].CGColor); + CGContextSetStrokeColorWithColor(context, highQuality ? [self accentColor].CGColor :[UIColor whiteColor].CGColor); CGContextSetLineWidth(context, lineWidth); CGContextStrokePath(context); } @@ -257,7 +257,7 @@ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wdeprecated-declarations" CGSize textSize = [label sizeWithFont:font]; - [[UIColor whiteColor] setFill]; + [highQuality ? [self accentColor] :[UIColor whiteColor] setFill]; [label drawInRect:CGRectMake((size.width - textSize.width) / 2.0f + TGScreenPixel, 4.0f, textSize.width, textSize.height) withFont:font]; #pragma clang diagnostic pop