Skip to content

Commit

Permalink
Bug fix : IsEnabled and NoCache to int
Browse files Browse the repository at this point in the history
  • Loading branch information
thefyfy committed May 7, 2019
1 parent a8cc692 commit 77c1de3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions AddOrChangeAssetPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ protected override async void OnNavigatedTo(NavigationEventArgs e)
this.DatePickerEnd.Date = this.AssetToUpdate.EndDate;
this.TimePickerEnd.Time = this.AssetToUpdate.EndDate.TimeOfDay;
this.TextBoxDuration.Text = this.AssetToUpdate.Duration;
this.ToggleSwitchEnable.IsOn = this.AssetToUpdate.IsEnabled.Equals("1") ? true : false;
this.ToggleSwitchDisableCache.IsOn = this.AssetToUpdate.NoCache.Equals("1") ? true : false;
this.ToggleSwitchEnable.IsOn = this.AssetToUpdate.IsEnabled.Equals(1) ? true : false;
this.ToggleSwitchDisableCache.IsOn = this.AssetToUpdate.NoCache.Equals(1) ? true : false;

this.TextBlockTitle.Text = string.Format(this.Loader.GetString("EditAsset"), this.AssetToUpdate.Name, this.DeviceToUpdate.Name);
}
Expand All @@ -95,8 +95,8 @@ protected override async void OnNavigatedTo(NavigationEventArgs e)
this.DatePickerEnd.Date = this.AssetToUpdate.EndDate;
this.TimePickerEnd.Time = this.AssetToUpdate.EndDate.TimeOfDay;
this.TextBoxDuration.Text = this.AssetToUpdate.Duration;
this.ToggleSwitchEnable.IsOn = this.AssetToUpdate.IsEnabled.Equals("1") ? true : false;
this.ToggleSwitchDisableCache.IsOn = this.AssetToUpdate.NoCache.Equals("1") ? true : false;
this.ToggleSwitchEnable.IsOn = this.AssetToUpdate.IsEnabled.Equals(1) ? true : false;
this.ToggleSwitchDisableCache.IsOn = this.AssetToUpdate.NoCache.Equals(1) ? true : false;

this.TextBlockTitle.Text = string.Format(this.Loader.GetString("DuplicateAsset"), this.AssetToUpdate.Name);
}
Expand Down
2 changes: 1 addition & 1 deletion Package.appxmanifest
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" IgnorableNamespaces="uap mp">
<Identity Name="bd4d638c-2e98-49e2-be8a-65be3fa9900d" Publisher="CN=j.filhoulaud" Version="1.0.14.0" />
<Identity Name="bd4d638c-2e98-49e2-be8a-65be3fa9900d" Publisher="CN=j.filhoulaud" Version="1.0.15.0" />
<mp:PhoneIdentity PhoneProductId="bd4d638c-2e98-49e2-be8a-65be3fa9900d" PhonePublisherId="00000000-0000-0000-0000-000000000000" />
<Properties>
<DisplayName>ScreenlyManager</DisplayName>
Expand Down
6 changes: 3 additions & 3 deletions ScreenlyManager.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<AppxAutoIncrementPackageRevision>True</AppxAutoIncrementPackageRevision>
<AppxBundle>Always</AppxBundle>
<AppxBundlePlatforms>x86|x64|arm</AppxBundlePlatforms>
<PackageCertificateThumbprint>0B29CE2394A65C25639F4C5661053DEB3599C892</PackageCertificateThumbprint>
<PackageCertificateThumbprint>8DC4D902C8545A20D962C7DDABD689969615C289</PackageCertificateThumbprint>
<RuntimeIdentifiers>win10-arm;win10-arm-aot;win10-x86;win10-x86-aot;win10-x64;win10-x64-aot</RuntimeIdentifiers>
<GenerateAppInstallerFile>False</GenerateAppInstallerFile>
<AppInstallerUpdateFrequency>1</AppInstallerUpdateFrequency>
Expand Down Expand Up @@ -197,10 +197,10 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
<Version>5.2.2</Version>
<Version>6.2.8</Version>
</PackageReference>
<PackageReference Include="Newtonsoft.Json">
<Version>9.0.1</Version>
<Version>12.0.2</Version>
</PackageReference>
</ItemGroup>
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '14.0' ">
Expand Down

0 comments on commit 77c1de3

Please sign in to comment.