diff options
author | Jason Smith <jason.smith@xamarin.com> | 2016-04-15 15:33:53 -0700 |
---|---|---|
committer | Jason Smith <jason.smith@xamarin.com> | 2016-04-16 14:10:30 -0700 |
commit | 6e2511b453df258a645f7fedbdc9ff56abd0dac5 (patch) | |
tree | 80f574c8f980f40ee79ff38af2047c624ff578aa | |
parent | 999749e9f6f5cf06ec82b9b2df12d57206250dfe (diff) | |
download | xamarin-forms-6e2511b453df258a645f7fedbdc9ff56abd0dac5.tar.gz xamarin-forms-6e2511b453df258a645f7fedbdc9ff56abd0dac5.tar.bz2 xamarin-forms-6e2511b453df258a645f7fedbdc9ff56abd0dac5.zip |
[WinRT] Fix WebView.Eval (#87)
-rw-r--r-- | Xamarin.Forms.Platform.WinRT/WebViewRenderer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.WinRT/WebViewRenderer.cs b/Xamarin.Forms.Platform.WinRT/WebViewRenderer.cs index 8074f3f1..75ca240c 100644 --- a/Xamarin.Forms.Platform.WinRT/WebViewRenderer.cs +++ b/Xamarin.Forms.Platform.WinRT/WebViewRenderer.cs @@ -96,7 +96,7 @@ namespace Xamarin.Forms.Platform.WinRT async void OnEvalRequested(object sender, EventArg<string> eventArg) { - await Control.Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () => Control.InvokeScript("eval", new[] { eventArg.Data })); + await Control.Dispatcher.RunAsync(CoreDispatcherPriority.Normal, async () => await Control.InvokeScriptAsync("eval", new[] { eventArg.Data })); } void OnGoBackRequested(object sender, EventArgs eventArgs) |