Skip to content

Commit 27f7bb8

Browse files
authored
Add 'empty' case to SectionSizeType enum
1 parent bb004e1 commit 27f7bb8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/GenericCollectionViewKit/datasource/enums.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@
88
import Foundation
99

1010
public enum SectionSizeType {
11-
case large, medium, small
11+
case large, medium, small,empty
1212

1313
var size: CGFloat {
1414
switch self {
1515
case .large: return 25
1616
case .medium: return 23
1717
case .small: return 20
18+
case .empty: return 0
1819
}
1920
}
2021
}

0 commit comments

Comments
 (0)