|
|
|
@ -30,6 +30,7 @@ final class SourceListModel {
|
|
|
|
|
|
|
|
|
|
|
|
Task { [weak self] in
|
|
|
|
Task { [weak self] in
|
|
|
|
for await list in finder.sources {
|
|
|
|
for await list in finder.sources {
|
|
|
|
|
|
|
|
Log.ndi.info("Sources: \(list.map(\.ndiName), privacy: .public)")
|
|
|
|
self?.sources = list.sorted { $0.ndiName.localizedStandardCompare($1.ndiName) == .orderedAscending }
|
|
|
|
self?.sources = list.sorted { $0.ndiName.localizedStandardCompare($1.ndiName) == .orderedAscending }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|