diff --git a/iphone/Maps/Categories/UIKitCategories.h b/iphone/Maps/Categories/UIKitCategories.h index 9b9542d646..27b2f82194 100644 --- a/iphone/Maps/Categories/UIKitCategories.h +++ b/iphone/Maps/Categories/UIKitCategories.h @@ -25,6 +25,16 @@ static inline CGFloat LengthCGPoint(CGPoint point) + (NSString *)className; - (void)performAfterDelay:(NSTimeInterval)delayInSec block:(TMWMVoidBlock)block; +@end + +@interface UIColor (HexColor) + ++ (UIColor *)colorWithColorCode:(NSString *)colorCode; ++ (UIColor *)applicationBackgroundColor; ++ (UIColor *)applicationColor; ++ (UIColor *)navigationBarColor; + + @end @interface UIView (Coordinates) diff --git a/iphone/Maps/Classes/CustomAlert/AlertController/MWMAlertViewController.mm b/iphone/Maps/Classes/CustomAlert/AlertController/MWMAlertViewController.mm index 812701f731..d0965fb959 100644 --- a/iphone/Maps/Classes/CustomAlert/AlertController/MWMAlertViewController.mm +++ b/iphone/Maps/Classes/CustomAlert/AlertController/MWMAlertViewController.mm @@ -66,7 +66,7 @@ static NSString * const kAlertControllerNibIdentifier = @"MWMAlertViewController [self displayAlert:[MWMAlert point2PointAlertWithOkBlock:block needToRebuild:needToRebuild]]; } -- (void)presentNeedMigrationAlertWithOkBlock:(nonnull CloseAlertCompletion)block +- (void)presentNeedMigrationAlertWithOkBlock:(nonnull TMWMVoidBlock)block { [self displayAlert:[MWMAlert needMigrationAlertWithOkBlock:block]]; }