mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 20:17:03 +00:00
Implements ITvPresetsProvider on IrSetTopBoxBase
This commit is contained in:
parent
864c8ddf77
commit
21f9795bcd
4 changed files with 10 additions and 9 deletions
|
|
@ -169,9 +169,9 @@ namespace PepperDash.Essentials.Core.PageManagers
|
|||
}
|
||||
|
||||
// Build presets
|
||||
if (stb.HasPresets && stb.PresetsModel != null)
|
||||
if (stb.HasPresets && stb.TvPresets != null)
|
||||
{
|
||||
PresetsView = new DevicePresetsView(trilist, stb.PresetsModel);
|
||||
PresetsView = new DevicePresetsView(trilist, stb.TvPresets);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -18,8 +18,8 @@ namespace PepperDash.Essentials.Core.PageManagers
|
|||
{
|
||||
SetTopBox = stb;
|
||||
TriList = trilist;
|
||||
if(stb.PresetsModel != null)
|
||||
PresetsView = new DevicePresetsView(trilist, stb.PresetsModel);
|
||||
if(stb.TvPresets != null)
|
||||
PresetsView = new DevicePresetsView(trilist, stb.TvPresets);
|
||||
}
|
||||
|
||||
public override void Show()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue