mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-13 12:37:07 +00:00
Adds ability for dark logo option
This commit is contained in:
parent
637ca2f312
commit
192aa4255c
7 changed files with 23 additions and 11 deletions
|
|
@ -156,7 +156,10 @@ namespace PepperDash.Essentials.Room.Config
|
|||
public EssentialsEnvironmentPropertiesConfig Environment { get; set; }
|
||||
|
||||
[JsonProperty("logo")]
|
||||
public EssentialsLogoPropertiesConfig Logo { get; set; }
|
||||
public EssentialsLogoPropertiesConfig LogoLight { get; set; }
|
||||
|
||||
[JsonProperty("logoDark")]
|
||||
public EssentialsLogoPropertiesConfig LogoDark { get; set; }
|
||||
|
||||
[JsonProperty("microphonePrivacy")]
|
||||
public EssentialsRoomMicrophonePrivacyConfig MicrophonePrivacy { get; set; }
|
||||
|
|
|
|||
|
|
@ -327,7 +327,8 @@ namespace PepperDash.Essentials
|
|||
this.SetRoomOccupancy(DeviceManager.GetDeviceForKey(PropertiesConfig.Occupancy.DeviceKey) as
|
||||
IOccupancyStatusProvider, PropertiesConfig.Occupancy.TimeoutMinutes);
|
||||
|
||||
this.LogoUrl = PropertiesConfig.Logo.GetUrl();
|
||||
this.LogoUrlLightBkgnd = PropertiesConfig.LogoLight.GetUrl();
|
||||
this.LogoUrlDarkBkgnd = PropertiesConfig.LogoDark.GetUrl();
|
||||
this.SourceListKey = PropertiesConfig.SourceListKey;
|
||||
this.DefaultSourceItem = PropertiesConfig.DefaultSourceItem;
|
||||
this.DefaultVolume = (ushort)(PropertiesConfig.Volumes.Master.Level * 65535 / 100);
|
||||
|
|
|
|||
|
|
@ -250,7 +250,8 @@ namespace PepperDash.Essentials
|
|||
this.SetRoomOccupancy(DeviceManager.GetDeviceForKey(PropertiesConfig.Occupancy.DeviceKey) as
|
||||
IOccupancyStatusProvider, PropertiesConfig.Occupancy.TimeoutMinutes);
|
||||
|
||||
this.LogoUrl = PropertiesConfig.Logo.GetUrl();
|
||||
this.LogoUrlLightBkgnd = PropertiesConfig.LogoLight.GetUrl();
|
||||
this.LogoUrlDarkBkgnd = PropertiesConfig.LogoDark.GetUrl();
|
||||
this.SourceListKey = PropertiesConfig.SourceListKey;
|
||||
this.DefaultSourceItem = PropertiesConfig.DefaultSourceItem;
|
||||
this.DefaultVolume = (ushort)(PropertiesConfig.Volumes.Master.Level * 65535 / 100);
|
||||
|
|
|
|||
|
|
@ -340,7 +340,8 @@ namespace PepperDash.Essentials
|
|||
IOccupancyStatusProvider, PropertiesConfig.Occupancy.TimeoutMinutes);
|
||||
}
|
||||
|
||||
this.LogoUrl = PropertiesConfig.Logo.GetUrl();
|
||||
this.LogoUrlLightBkgnd = PropertiesConfig.LogoLight.GetUrl();
|
||||
this.LogoUrlDarkBkgnd = PropertiesConfig.LogoDark.GetUrl();
|
||||
this.SourceListKey = PropertiesConfig.SourceListKey;
|
||||
this.DefaultSourceItem = PropertiesConfig.DefaultSourceItem;
|
||||
this.DefaultVolume = (ushort)(PropertiesConfig.Volumes.Master.Level * 65535 / 100);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue