diff options
author | Ilya Grechuhin <i.grechuhin@mapswithme.com> | 2015-06-04 11:09:53 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:49:52 +0300 |
commit | 8891fcd36962f05784acf2f6f3616a9bca169b4b (patch) | |
tree | 7b2a77313722508b2845a3c58087c78e52cbdae1 /iphone/Maps/Classes/MapCell.mm | |
parent | 566a9545774766b3914b757f7ba2f0672f6698fc (diff) |
Added overload for version check.
Diffstat (limited to 'iphone/Maps/Classes/MapCell.mm')
-rw-r--r-- | iphone/Maps/Classes/MapCell.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/iphone/Maps/Classes/MapCell.mm b/iphone/Maps/Classes/MapCell.mm index 06329efa06..2cab626188 100644 --- a/iphone/Maps/Classes/MapCell.mm +++ b/iphone/Maps/Classes/MapCell.mm @@ -1,4 +1,4 @@ - +#import "Common.h" #import "MapCell.h" #import "UIKitCategories.h" @@ -173,7 +173,7 @@ self.separatorBottom.autoresizingMask = UIViewAutoresizingFlexibleTopMargin | UIViewAutoresizingFlexibleTopMargin; // On iOS6 and lower table view looks different, we won't show separators there. - if (isIOSVersionLessThan(@"7.0")) + if (isIOSVersionLessThan(7)) self.separatorTop.alpha = self.separator.alpha = self.separatorBottom.alpha = 0.0; } |