IO-1154 IO-996 resolve bindings to main window.

This commit is contained in:
Patrick Fic
2021-05-26 09:56:22 -07:00
parent f9d8b18481
commit 0ab4cc38d0
5 changed files with 9 additions and 8 deletions

View File

@@ -35,7 +35,8 @@ namespace BodyshopPartner.ViewModels
p => true,
p =>
{
((Window)p).Show();
App.Current.MainWindow.Show();
// ((Window)p).Show();
}

View File

@@ -90,7 +90,7 @@ namespace BodyshopPartner.ViewModels
private async Task updateCheck()
{
//#if (!DEBUG)
#if (!DEBUG)
logger.Debug("Checking if updates are available.");
await Utils.UpdateHandler.UpdateAppEasy((val) => UpdateProgress = val);
@@ -111,7 +111,7 @@ namespace BodyshopPartner.ViewModels
// }
//}
//#endif
#endif
}