1.0.19 Release Fix.
This commit is contained in:
@@ -93,15 +93,20 @@ namespace BodyshopPartner.ViewModels
|
||||
|
||||
|
||||
|
||||
#if (!DEBUG)
|
||||
#if (!DEBUG)
|
||||
if (!Utils.AppMetaData.IsTest)
|
||||
{
|
||||
logger.Debug("Checking if updates are available.");
|
||||
await Utils.UpdateHandler.UpdateAppEasy((val) => UpdateProgress = val);
|
||||
UpdateAvailable = await Utils.UpdateHandler.AreUpdatesAvailable();
|
||||
if (UpdateAvailable)
|
||||
{
|
||||
logger.Debug("Updates are available!");
|
||||
await Utils.UpdateHandler.UpdateAppEasy((val) => UpdateProgress = val);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
//UpdateAvailable = await Utils.UpdateHandler.AreUpdatesAvailable();
|
||||
//if (UpdateAvailable)
|
||||
//{
|
||||
|
||||
// string msg = "An update to ImEX Online Partner is Available. It will be automatically downloaded and applied.";
|
||||
// Utils.Notifications.notifier.ShowInformation(msg);
|
||||
// logger.Debug("Updates are available! Installing.");
|
||||
@@ -116,7 +121,7 @@ namespace BodyshopPartner.ViewModels
|
||||
|
||||
// }
|
||||
//}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user