Adds a link limit and UI to device list (#11017)

* adds a link limit to device list

* locale strings

* uhhh what's efcore doing there

* adds a UI for device list on the device

* merge conflict fixing
This commit is contained in:
Flipp Syder
2022-09-05 18:22:39 -07:00
committed by GitHub
parent 8cbcf2d640
commit c3d7ecace6
12 changed files with 156 additions and 63 deletions

View File

@@ -75,8 +75,15 @@ public sealed class NetworkConfiguratorBoundUserInterface : BoundUserInterface
{
base.UpdateState(state);
var castState = (NetworkConfiguratorUserInterfaceState) state;
_listMenu?.UpdateState(castState);
switch (state)
{
case NetworkConfiguratorUserInterfaceState configState:
_listMenu?.UpdateState(configState);
break;
case DeviceListUserInterfaceState listState:
_configurationMenu?.UpdateState(listState);
break;
}
}
protected override void ReceiveMessage(BoundUserInterfaceMessage message)