diff options
author | Ilya Grechuhin <i.grechuhin@gmail.com> | 2017-02-09 13:39:45 +0300 |
---|---|---|
committer | Sergey Yershov <syershov@maps.me> | 2017-02-10 15:00:16 +0300 |
commit | 57dbac164f9450ec49e02838377b6f467cf8f3a6 (patch) | |
tree | b2b8149bbf0afb63634c34e370d9bb5d1b460d78 /iphone | |
parent | bb951157cac5b8aa255cfa207711586c8f8d5775 (diff) |
[MAPSME-3796] [ios] Fixed bottom menu portrait layout for right-to-left interfaces.
Diffstat (limited to 'iphone')
-rw-r--r-- | iphone/Maps/UI/BottomMenu/MWMBottomMenuViewController.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iphone/Maps/UI/BottomMenu/MWMBottomMenuViewController.mm b/iphone/Maps/UI/BottomMenu/MWMBottomMenuViewController.mm index e5b95a4a8c..2adca8d8c8 100644 --- a/iphone/Maps/UI/BottomMenu/MWMBottomMenuViewController.mm +++ b/iphone/Maps/UI/BottomMenu/MWMBottomMenuViewController.mm @@ -300,7 +300,7 @@ typedef NS_ENUM(NSUInteger, MWMBottomMenuViewCell) { auto cell = static_cast<MWMBottomMenuCollectionViewCell *>( [collectionView dequeueReusableCellWithCellClass:cls indexPath:indexPath]); NSInteger item = indexPath.item; - if (isInterfaceRightToLeft()) + if (isWideMenu && isInterfaceRightToLeft()) item = [self collectionView:collectionView numberOfItemsInSection:indexPath.section] - item - 1; switch (item) { |