From c881278e51bbdee86718e2271fa1526912714664 Mon Sep 17 00:00:00 2001 From: VladiMihaylenko Date: Sun, 24 Jan 2016 21:42:42 +0300 Subject: [PATCH] [ios] Added medium 20 to fonts. --- iphone/Maps/UIFont+MapsMeFonts.h | 3 +-- iphone/Maps/UIFont+MapsMeFonts.mm | 6 ++++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/iphone/Maps/UIFont+MapsMeFonts.h b/iphone/Maps/UIFont+MapsMeFonts.h index ccd27451a8..aa09f0e5df 100644 --- a/iphone/Maps/UIFont+MapsMeFonts.h +++ b/iphone/Maps/UIFont+MapsMeFonts.h @@ -1,5 +1,3 @@ -#import - @interface UIFont (MapsMeFonts) + (UIFont *)regular10; @@ -17,6 +15,7 @@ + (UIFont *)medium16; + (UIFont *)medium17; + (UIFont *)medium18; ++ (UIFont *)medium20; + (UIFont *)medium24; + (UIFont *)medium36; + (UIFont *)medium40; diff --git a/iphone/Maps/UIFont+MapsMeFonts.mm b/iphone/Maps/UIFont+MapsMeFonts.mm index c3fbc7588d..189bd02e08 100644 --- a/iphone/Maps/UIFont+MapsMeFonts.mm +++ b/iphone/Maps/UIFont+MapsMeFonts.mm @@ -77,6 +77,12 @@ static NSString * const kBoldFont = @"HelveticaNeue-Bold"; { return [UIFont fontWithName:kMediumFont size:18]; } + ++ (UIFont *)medium20 +{ + return [UIFont fontWithName:kMediumFont size:20]; +} + + (UIFont *)medium24 { return [UIFont fontWithName:kMediumFont size:24];