forked from organicmaps/organicmaps
[fix] [ios] Workaround for iOS 8.
This commit is contained in:
parent
8033854b5b
commit
8250b38c21
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue