Skip to content

Commit db40393

Browse files
Update Microsoft.Toolkit.Uwp.SampleApp/SamplePages/SystemInformation/SystemInformationCode.bind
Co-authored-by: Sergio Pedri <[email protected]>
1 parent 9a30a07 commit db40393

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Microsoft.Toolkit.Uwp.SampleApp/SamplePages/SystemInformation/SystemInformationCode.bind

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@
3535
public bool IsAppUpdated => SystemInformation.Instance.IsAppUpdated;
3636

3737
// To get the first version installed
38-
public PackageVersion FirstVersionInstalled => SystemInformation.Instance.FirstVersionInstalled;
38+
public string FirstVersionInstalled => SystemInformation.Instance.FirstVersionInstalled.ToFormattedString();
3939

4040
// To get the previous version installed
41-
public PackageVersion PreviousVersionInstalled => SystemInformation.Instance.PreviousVersionInstalled;
41+
public string PreviousVersionInstalled => SystemInformation.Instance.PreviousVersionInstalled.ToFormattedString();
4242

4343
// To get the first time the app was launched
4444
public DateTime FirstUseTime => SystemInformation.Instance.FirstUseTime;

0 commit comments

Comments
 (0)