From 58c791b68d9058516166cc26fc15563bd56ebeb6 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Sun, 9 Dec 2018 13:20:32 +0200 Subject: Fixed issue with touch keyboard special char when caps lock is on. --- .../PPC/Tango.PPC.UI/Images/machine-update-firmware.png | Bin 0 -> 63235 bytes .../Visual_Studio/PPC/Tango.PPC.UI/Tango.PPC.UI.csproj | 1 + .../Tango.PPC.UI/ViewModels/FirmwareUpgradeViewVM.cs | 2 ++ .../PPC/Tango.PPC.UI/Views/FirmwareUpgradeView.xaml | 15 ++++++++++----- 4 files changed, 13 insertions(+), 5 deletions(-) create mode 100644 Software/Visual_Studio/PPC/Tango.PPC.UI/Images/machine-update-firmware.png (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI') diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Images/machine-update-firmware.png b/Software/Visual_Studio/PPC/Tango.PPC.UI/Images/machine-update-firmware.png new file mode 100644 index 000000000..ba1fe91e3 Binary files /dev/null and b/Software/Visual_Studio/PPC/Tango.PPC.UI/Images/machine-update-firmware.png differ diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Tango.PPC.UI.csproj b/Software/Visual_Studio/PPC/Tango.PPC.UI/Tango.PPC.UI.csproj index ed0092a4d..862b7c891 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Tango.PPC.UI.csproj +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Tango.PPC.UI.csproj @@ -402,6 +402,7 @@ Tango.ColorLib.dll PreserveNewest + diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/FirmwareUpgradeViewVM.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/FirmwareUpgradeViewVM.cs index b7c36f263..dea9cdac4 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/FirmwareUpgradeViewVM.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/FirmwareUpgradeViewVM.cs @@ -113,6 +113,7 @@ namespace Tango.PPC.UI.ViewModels }; handler.Failed += (_, ex) => { + Status = ex.FlattenMessage(); NavigateTo(FirmUpgradeView.FirmwareFailedView); }; handler.Completed += (_, __) => @@ -122,6 +123,7 @@ namespace Tango.PPC.UI.ViewModels } catch (Exception ex) { + Status = ex.FlattenMessage(); LogManager.Log(ex); await NavigateTo(FirmUpgradeView.FirmwareFailedView); } diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/FirmwareUpgradeView.xaml b/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/FirmwareUpgradeView.xaml index 985e00291..82b211d4e 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/FirmwareUpgradeView.xaml +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/FirmwareUpgradeView.xaml @@ -14,12 +14,11 @@ - - - FIRMWARE UPGRADE + + - + @@ -42,7 +41,13 @@ - Firmware upgrade failed, tap 'try again' to restart the process. + + Firmware upgrade failed. + + + + Tap 'try again' to restart the process. + TRY AGAIN -- cgit v1.3.1