mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-19 19:53:25 +01:00
Removes unused code from BrowseViewController
This commit is contained in:
@@ -41,18 +41,6 @@ class BrowseViewController: UICollectionViewController
|
|||||||
self.fetchSource()
|
self.fetchSource()
|
||||||
self.updateDataSource()
|
self.updateDataSource()
|
||||||
}
|
}
|
||||||
|
|
||||||
override func prepare(for segue: UIStoryboardSegue, sender: Any?)
|
|
||||||
{
|
|
||||||
guard segue.identifier == "showApp" else { return }
|
|
||||||
|
|
||||||
guard let cell = sender as? UICollectionViewCell, let indexPath = self.collectionView.indexPath(for: cell) else { return }
|
|
||||||
|
|
||||||
let app = self.dataSource.item(at: indexPath)
|
|
||||||
|
|
||||||
let appViewController = segue.destination as! AppViewController
|
|
||||||
appViewController.app = app
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private extension BrowseViewController
|
private extension BrowseViewController
|
||||||
|
|||||||
Reference in New Issue
Block a user