We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c360ea commit 8a1309bCopy full SHA for 8a1309b
UI/SkottieSample/SkottieSample/MainPage.xaml.cs
@@ -7,9 +7,6 @@
7
8
namespace SkottieSample;
9
10
-/// <summary>
11
-/// An empty page that can be used on its own or navigated to within a Frame.
12
-/// </summary>
13
public sealed partial class MainPage : Page
14
{
15
private Stopwatch _watch = new Stopwatch();
@@ -25,7 +22,7 @@ public MainPage()
25
22
26
23
private async Task Load()
27
24
28
- var file = await Windows.Storage.StorageFile.GetFileFromApplicationUriAsync(new Uri("ms-appx:///Assets/LottieLogo1.json"));
+ var file = await StorageFile.GetFileFromApplicationUriAsync(new Uri("ms-appx:///Assets/LottieLogo1.json"));
29
using var stream = await file.OpenReadAsync();
30
31
using var fileStream = new SKManagedStream(stream.AsStream());
0 commit comments