IO-1154 IO-996 resolve bindings to main window.
This commit is contained in:
@@ -35,7 +35,8 @@ namespace BodyshopPartner.ViewModels
|
||||
p => true,
|
||||
p =>
|
||||
{
|
||||
((Window)p).Show();
|
||||
App.Current.MainWindow.Show();
|
||||
// ((Window)p).Show();
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user