Skip to content

Commit 867439d

Browse files
committed
Fix iOS 26 item detail editing
1 parent 636b796 commit 867439d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Zotero/Scenes/Detail/ItemDetail/Views/ItemDetailCollectionViewHandler.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,9 @@ final class ItemDetailCollectionViewHandler: NSObject {
461461
.map({ SectionType(identifier: id, section: $0) })
462462
var snapshot = NSDiffableDataSourceSnapshot<SectionType, Row>()
463463
snapshot.appendSections(sections)
464+
if #available(iOS 26.0, *) {
465+
snapshot.reloadSections(sections)
466+
}
464467
for section in sections {
465468
snapshot.appendItems(rows(for: section.section, state: state), toSection: section)
466469
}

0 commit comments

Comments
 (0)