HubitatServer: Adds HubitatServer type and adds it to the multiplexer
This commit is contained in:
@@ -122,6 +122,7 @@ class SwitchesViewController: UIViewController,
|
||||
})
|
||||
|
||||
var snapshot = _collectionViewDataSource.snapshot()
|
||||
snapshot.deleteItems(snapshot.itemIdentifiers(inSection: SwitchesViewController.switchCellsSectionIdentifier))
|
||||
snapshot.appendItems(self.devices.map { $0.hashValue }, toSection: SwitchesViewController.switchCellsSectionIdentifier)
|
||||
_collectionViewDataSource.apply(snapshot, animatingDifferences: false)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user