Skip to content

Commit b05e637

Browse files
fix: Use OpenPlayground() method to load Playground sample correctly
Co-authored-by: MartinZikmund <1075116+MartinZikmund@users.noreply.github.com>
1 parent 17864a3 commit b05e637

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SamplesApp/SamplesApp.Shared/App.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ private async void HandleLaunchArguments(LaunchActivatedEventArgs launchActivate
418418

419419
if (SampleControl.Presentation.SampleChooserViewModel.Instance is { } vm && vm.CurrentSelectedSample is null)
420420
{
421-
vm.SetSelectedSample(CancellationToken.None, "Playground", "Playground");
421+
vm.OpenPlayground();
422422
}
423423
}
424424

0 commit comments

Comments
 (0)