diff --git a/GazeInputTest/GazeInputTest.csproj b/GazeInputTest/GazeInputTest.csproj index 9364b18cddc..3454b492f5c 100644 --- a/GazeInputTest/GazeInputTest.csproj +++ b/GazeInputTest/GazeInputTest.csproj @@ -12,7 +12,7 @@ en-US UAP 10.0.19041.0 - 10.0.17134.0 + 10.0.17763.0 14 512 {A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} diff --git a/Microsoft.Toolkit.Uwp.SampleApp/Controls/SampleAppMarkdownRenderer.cs b/Microsoft.Toolkit.Uwp.SampleApp/Controls/SampleAppMarkdownRenderer.cs index dc671f7c5a6..ecc9cb6cc2a 100644 --- a/Microsoft.Toolkit.Uwp.SampleApp/Controls/SampleAppMarkdownRenderer.cs +++ b/Microsoft.Toolkit.Uwp.SampleApp/Controls/SampleAppMarkdownRenderer.cs @@ -416,7 +416,7 @@ public string DesiredLang /// /// The Local Storage Helper. /// - private LocalObjectStorageHelper storage = new LocalObjectStorageHelper(); + private LocalObjectStorageHelper storage = new LocalObjectStorageHelper(new SystemSerializer()); /// /// DocFX note types and styling info, keyed by identifier. diff --git a/Microsoft.Toolkit.Uwp.SampleApp/Models/Sample.cs b/Microsoft.Toolkit.Uwp.SampleApp/Models/Sample.cs index 1db3fbd9e7e..157caa2114b 100644 --- a/Microsoft.Toolkit.Uwp.SampleApp/Models/Sample.cs +++ b/Microsoft.Toolkit.Uwp.SampleApp/Models/Sample.cs @@ -39,7 +39,7 @@ public class Sample public static async void EnsureCacheLatest() { - var settingsStorage = new LocalObjectStorageHelper(); + var settingsStorage = new LocalObjectStorageHelper(new SystemSerializer()); var onlineDocsSHA = await GetDocsSHA(); var cacheSHA = settingsStorage.Read(_cacheSHAKey); diff --git a/Microsoft.Toolkit.Uwp.SampleApp/Models/Samples.cs b/Microsoft.Toolkit.Uwp.SampleApp/Models/Samples.cs index 901bea050e8..0aa18896ad4 100644 --- a/Microsoft.Toolkit.Uwp.SampleApp/Models/Samples.cs +++ b/Microsoft.Toolkit.Uwp.SampleApp/Models/Samples.cs @@ -21,7 +21,7 @@ public static class Samples private static SemaphoreSlim _semaphore = new SemaphoreSlim(1); private static LinkedList _recentSamples; - private static RoamingObjectStorageHelper _roamingObjectStorageHelper = new RoamingObjectStorageHelper(); + private static LocalObjectStorageHelper _localObjectStorageHelper = new LocalObjectStorageHelper(new SystemSerializer()); public static async Task GetCategoryBySample(Sample sample) { @@ -98,7 +98,7 @@ public static async Task> GetRecentSamples() if (_recentSamples == null) { _recentSamples = new LinkedList(); - var savedSamples = _roamingObjectStorageHelper.Read(_recentSamplesStorageKey); + var savedSamples = _localObjectStorageHelper.Read(_recentSamplesStorageKey); if (savedSamples != null) { @@ -144,7 +144,7 @@ private static void SaveRecentSamples() } var str = string.Join(";", _recentSamples.Take(10).Select(s => s.Name).ToArray()); - _roamingObjectStorageHelper.Save(_recentSamplesStorageKey, str); + _localObjectStorageHelper.Save(_recentSamplesStorageKey, str); } } } diff --git a/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/Object Storage/ObjectStoragePage.xaml b/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/Object Storage/ObjectStoragePage.xaml index e782345850d..3fc3f747d91 100644 --- a/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/Object Storage/ObjectStoragePage.xaml +++ b/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/Object Storage/ObjectStoragePage.xaml @@ -1,26 +1,33 @@ - + - + - + - - - -