mirror of
https://github.com/AynaLivePlayer/AynaLivePlayer.git
synced 2025-12-06 18:32:50 +08:00
add nosource
This commit is contained in:
@@ -410,7 +410,11 @@ func (d *Diange) CreatePanel() fyne.CanvasObject {
|
||||
skipPlaylistCheck,
|
||||
)
|
||||
sourceCfgs := []fyne.CanvasObject{}
|
||||
prvdrs := miaosic.ListAvailableProviders()
|
||||
for source, cfg := range d.sourceConfigs {
|
||||
if !slices.Contains(prvdrs, source) {
|
||||
continue
|
||||
}
|
||||
sourceCfgs = append(
|
||||
sourceCfgs, container.NewGridWithColumns(2,
|
||||
widget.NewLabel(source),
|
||||
|
||||
Reference in New Issue
Block a user