mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
Disables Sources functionality for public versions
This commit is contained in:
@@ -31,8 +31,13 @@ class BrowseViewController: UICollectionViewController
|
||||
{
|
||||
super.viewDidLoad()
|
||||
|
||||
#if BETA
|
||||
self.dataSource.searchController.searchableKeyPaths = [#keyPath(InstalledApp.name)]
|
||||
self.navigationItem.searchController = self.dataSource.searchController
|
||||
#else
|
||||
// Hide Sources button for public version while in beta.
|
||||
self.navigationItem.rightBarButtonItem = nil
|
||||
#endif
|
||||
|
||||
self.prototypeCell.contentView.translatesAutoresizingMaskIntoConstraints = false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user