From 5a7bb40dd9b4fa01b3088bacc62e207e23d665b1 Mon Sep 17 00:00:00 2001 From: Stuart Breckenridge Date: Sat, 17 Jan 2026 12:48:35 +0800 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Make=20dequeue=20code=20co?= =?UTF-8?q?nsistent?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- iOS/MainFeed/MainFeedCollectionViewController.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iOS/MainFeed/MainFeedCollectionViewController.swift b/iOS/MainFeed/MainFeedCollectionViewController.swift index c65bd4cf3..9377fde39 100644 --- a/iOS/MainFeed/MainFeedCollectionViewController.swift +++ b/iOS/MainFeed/MainFeedCollectionViewController.swift @@ -234,9 +234,9 @@ final class MainFeedCollectionViewController: UICollectionViewController, Undoab override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell { guard let node = coordinator.nodeFor(indexPath), node.representedObject is Folder else { - let cell = collectionView.dequeueReusableCell(withReuseIdentifier: reuseIdentifier, for: indexPath) as? MainFeedCollectionViewCell - configure(cell!, indexPath: indexPath) - return cell! + let cell = collectionView.dequeueReusableCell(withReuseIdentifier: reuseIdentifier, for: indexPath) as! MainFeedCollectionViewCell + configure(cell, indexPath: indexPath) + return cell } let cell = collectionView.dequeueReusableCell(withReuseIdentifier: folderIdentifier, for: indexPath) as! MainFeedCollectionViewFolderCell