mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
Implements ITvPresetsProvider on IrSetTopBoxBase
This commit is contained in:
parent
864c8ddf77
commit
21f9795bcd
4 changed files with 10 additions and 9 deletions
|
|
@ -31,7 +31,7 @@ namespace PepperDash.Essentials.Core
|
|||
/// </summary>
|
||||
bool HasDpad { get; }
|
||||
|
||||
PepperDash.Essentials.Core.Presets.DevicePresetsModel PresetsModel { get; }
|
||||
PepperDash.Essentials.Core.Presets.DevicePresetsModel TvPresets { get; }
|
||||
void LoadPresets(string filePath);
|
||||
|
||||
void DvrList(bool pressRelease);
|
||||
|
|
|
|||
|
|
@ -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