mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-08-31 19:08:29 +00:00
fix: move RegisterForExtenders method to panel online event
This commit is contained in:
parent
4a77955987
commit
ab97e8140c
1 changed files with 10 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ namespace PepperDash.Essentials.Touchpanel
|
||||||
AppOpenFeedback, _zoomInCallFeedback, _zoomIncomingCallFeedback
|
AppOpenFeedback, _zoomInCallFeedback, _zoomIncomingCallFeedback
|
||||||
};
|
};
|
||||||
|
|
||||||
RegisterForExtenders();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void UpdateTheme(string theme)
|
public void UpdateTheme(string theme)
|
||||||
|
|
@ -323,6 +323,15 @@ namespace PepperDash.Essentials.Touchpanel
|
||||||
Panel.StringInput[2].StringValue = QrCodeUrlFeedback.StringValue;
|
Panel.StringInput[2].StringValue = QrCodeUrlFeedback.StringValue;
|
||||||
Panel.StringInput[3].StringValue = McServerUrlFeedback.StringValue;
|
Panel.StringInput[3].StringValue = McServerUrlFeedback.StringValue;
|
||||||
Panel.StringInput[4].StringValue = UserCodeFeedback.StringValue;
|
Panel.StringInput[4].StringValue = UserCodeFeedback.StringValue;
|
||||||
|
|
||||||
|
|
||||||
|
if (args.DeviceOnLine)
|
||||||
|
{
|
||||||
|
this.LogInformation($"Panel is online, calling RegisterForExtenders method");
|
||||||
|
|
||||||
|
RegisterForExtenders();
|
||||||
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue