Skip to content

Commit aad5bd2

Browse files
authored
Fix typo in comment (#138)
1 parent 67e1d38 commit aad5bd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MagazineLayout/Public/MagazineLayout.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1295,7 +1295,7 @@ public final class MagazineLayout: UICollectionViewLayout {
12951295
visibleItemLocationFramePairs.sort { $0.elementLocation < $1.elementLocation }
12961296

12971297
let firstVisibleItemLocationFramePair = visibleItemLocationFramePairs.first {
1298-
// When scrolling up, only calculate a a target content offset based on visible, already-sized
1298+
// When scrolling up, only calculate a target content offset based on visible, already-sized
12991299
// cells. Otherwise, scrolling will be jumpy.
13001300
modelState.isItemHeightSettled(indexPath: $0.elementLocation.indexPath)
13011301
}

0 commit comments

Comments
 (0)