diff --git a/KitX Dashboard/Models/DeviceCase.cs b/KitX Dashboard/Models/DeviceCase.cs index b20d594..834c02a 100644 --- a/KitX Dashboard/Models/DeviceCase.cs +++ b/KitX Dashboard/Models/DeviceCase.cs @@ -268,7 +268,7 @@ private void Connect() public bool IsAuthorized => SecurityManager.IsDeviceAuthorized(DeviceInfo.Device); - public bool IsConnected => IsCurrentDevice || DevicesServer.Instance.IsDeviceSignedIn(DeviceInfo.Device) || ConnectionToken is not null; + public bool IsConnected => DevicesServer.Instance.IsDeviceSignedIn(DeviceInfo.Device) || ConnectionToken is not null; public bool IsCurrentDevice => DeviceInfo.IsCurrentDevice(); diff --git a/KitX Dashboard/Views/Pages/DevicePage.axaml b/KitX Dashboard/Views/Pages/DevicePage.axaml index 163efcf..cac4b47 100644 --- a/KitX Dashboard/Views/Pages/DevicePage.axaml +++ b/KitX Dashboard/Views/Pages/DevicePage.axaml @@ -30,10 +30,8 @@ HorizontalAlignment="Left" VerticalAlignment="Center" Orientation="Horizontal"> - - + +