mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-11 19:44:52 +00:00
fix: logging & ternary changes
This commit is contained in:
@@ -118,15 +118,6 @@ namespace PepperDash.Essentials.Core.UI
|
||||
/// <param name="roomKey">Room Key for this panel</param>
|
||||
protected abstract void SetupPanelDrivers(string roomKey);
|
||||
|
||||
/// <inheritdoc />
|
||||
public override void Initialize()
|
||||
{
|
||||
base.Initialize();
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Event handler for System Extender Events
|
||||
/// </summary>
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace PepperDash.Essentials.Touchpanel
|
||||
{
|
||||
var theme = content.ToObject<MobileControlSimpleContent<string>>();
|
||||
|
||||
this.LogInformation("Setting theme to {theme}", this, theme.Value);
|
||||
this.LogInformation("Setting theme to {theme}", theme.Value);
|
||||
_tpDevice.UpdateTheme(theme.Value);
|
||||
|
||||
PostStatusMessage(JToken.FromObject(new { theme = theme.Value }), id);
|
||||
|
||||
@@ -112,7 +112,7 @@ namespace PepperDash.Essentials.WebSocketServer
|
||||
{
|
||||
clientId = Id,
|
||||
roomKey = RoomKey,
|
||||
touchpanelKey = string.IsNullOrEmpty(TouchpanelKey) ? string.Empty : TouchpanelKey,
|
||||
touchpanelKey = TouchpanelKey ?? string.Empty,
|
||||
})
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user