updated cell size for 3 & 4 digits
This commit is contained in:
parent
9822d4e777
commit
4cc1d5287d
@ -18,8 +18,7 @@ final class PaginationFlowLayout : UICollectionViewLayout {
|
||||
///Pre-defined sizes of the pagination cell based on number of digits.
|
||||
private var upperLimitSize: CGSize {
|
||||
switch upperLimitDigits {
|
||||
case 3: .init(width: 28, height: 16)
|
||||
case 4: .init(width: 34, height: 16)
|
||||
case 3, 4: .init(width: 34, height: 16)
|
||||
default: .init(width: 20, height: 16)
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user