File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
components/MarkdownTextBlock/samples Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -34,17 +34,17 @@ public MarkdownTextBlockImageProviderSample()
3434 this . Loaded += OnLoaded ;
3535 }
3636
37- private void OnLoaded ( object sender , RoutedEventArgs e )
37+ private async void OnLoaded ( object sender , RoutedEventArgs e )
3838 {
39- ApplyConfiguration ( ) ;
39+ await ApplyConfigurationAsync ( ) ;
4040 }
4141
42- private void ApplyButton_Click ( object sender , RoutedEventArgs e )
42+ private async void ApplyButton_Click ( object sender , RoutedEventArgs e )
4343 {
44- ApplyConfiguration ( ) ;
44+ await ApplyConfigurationAsync ( ) ;
4545 }
4646
47- private async void ApplyConfiguration ( )
47+ private async Task ApplyConfigurationAsync ( )
4848 {
4949 var providerWidth = ProviderWidthBox . Value ;
5050 var providerHeight = ProviderHeightBox . Value ;
You can’t perform that action at this time.
0 commit comments