|
@@ -63,7 +63,7 @@ namespace Comal.Stores
|
|
{
|
|
{
|
|
platform.Version = Version;
|
|
platform.Version = Version;
|
|
|
|
|
|
- if(Platform == Platform.Wpf || Platform == Platform.Mobile)
|
|
|
|
|
|
+ if(Platform == Platform.Wpf || Platform == Platform.TimeBench)
|
|
{
|
|
{
|
|
var user = Provider.Load(new Filter<User>(x => x.UserID).IsEqualTo(UserID)).FirstOrDefault();
|
|
var user = Provider.Load(new Filter<User>(x => x.UserID).IsEqualTo(UserID)).FirstOrDefault();
|
|
if(user is not null)
|
|
if(user is not null)
|
|
@@ -71,7 +71,7 @@ namespace Comal.Stores
|
|
var current = Platform switch
|
|
var current = Platform switch
|
|
{
|
|
{
|
|
Platform.Wpf => user.Platform.DesktopVersion,
|
|
Platform.Wpf => user.Platform.DesktopVersion,
|
|
- Platform.Mobile => user.Platform.MobileVersion,
|
|
|
|
|
|
+ Platform.TimeBench => user.Platform.MobileVersion,
|
|
_ => ""
|
|
_ => ""
|
|
};
|
|
};
|
|
if (!Version.Equals(current))
|
|
if (!Version.Equals(current))
|
|
@@ -81,7 +81,7 @@ namespace Comal.Stores
|
|
case Platform.Wpf:
|
|
case Platform.Wpf:
|
|
user.Platform.DesktopVersion = Version;
|
|
user.Platform.DesktopVersion = Version;
|
|
break;
|
|
break;
|
|
- case Platform.Mobile:
|
|
|
|
|
|
+ case Platform.TimeBench:
|
|
user.Platform.MobileVersion = Version;
|
|
user.Platform.MobileVersion = Version;
|
|
break;
|
|
break;
|
|
}
|
|
}
|