File tree Expand file tree Collapse file tree
hub/apps/develop/windows-integration/recall Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ private async Task OnContentChangedAsync()
3333 var activity = await UserActivityChannel .GetDefault ().GetOrCreateUserActivityAsync (id );
3434
3535 // Populate the required properties
36- activity .DisplayText = " doc135.txt" ;
36+ activity .VisualElements . DisplayText = " doc135.txt" ;
3737 activity .ActivationUri = new Uri (" my-app://docs/doc135.txt" );
3838
3939 // Save the activity
@@ -73,7 +73,7 @@ private async void UserActivityRequested(
7373 var activity = await UserActivityChannel .GetDefault ().GetOrCreateUserActivityAsync (id );
7474
7575 // Populate the required properties
76- activity .DisplayText = " doc135.txt" ;
76+ activity .VisualElements . DisplayText = " doc135.txt" ;
7777 activity .ActivationUri = new Uri (" my-app://docs/doc135.txt" );
7878
7979 // And return the activity to the event handler
You can’t perform that action at this time.
0 commit comments