Skip to content

Commit b12c2d4

Browse files
KM-13327 Attempt to fix crash by simplifying collection view updates
1 parent 99f99eb commit b12c2d4

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

PIA VPN/UI/Dashboard/DashboardViewController.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -909,9 +909,7 @@ class DashboardViewController: AutolayoutViewController {
909909
}
910910

911911
@objc private func updateFixedTileWithAnimation() {
912-
self.collectionView.performBatchUpdates({
913-
self.collectionView.reloadSections(IndexSet(0...0))
914-
}, completion: nil)
912+
collectionView.reloadSections(IndexSet(integer: 0))
915913
}
916914

917915
@objc private func reloadTheme() {

0 commit comments

Comments
 (0)