[fix] [ios] Workaround for iOS 8.

This commit is contained in:
Ilya Grechuhin 2017-06-29 18:08:25 +03:00 committed by Sergey Yershov
parent 8033854b5b
commit 8250b38c21

View file

@ -8,7 +8,7 @@ final class FilterCollectionHolderCell: MWMTableViewCell {
didSet {
guard #available(iOS 10, *) else {
if (frame.size.height < 1 /* minimal correct height */) {
frame.size.height = collectionViewHeight.constant
frame.size.height = max(collectionViewHeight.constant, 1)
tableView?.refresh()
}
return