From 34c29dc2ecf66dcde5fc96f1f85295d7332bde14 Mon Sep 17 00:00:00 2001 From: Jesse MacFadyen Date: Mon, 14 Apr 2014 17:01:35 -0700 Subject: [PATCH] await async calls, resolve warnings --- src/wp/InAppBrowser.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp/InAppBrowser.cs b/src/wp/InAppBrowser.cs index ae88b51..7239c8a 100644 --- a/src/wp/InAppBrowser.cs +++ b/src/wp/InAppBrowser.cs @@ -218,14 +218,14 @@ namespace WPCordovaClassLib.Cordova.Commands var pathUri = new Uri(url, UriKind.Absolute); if (pathUri.Scheme == Uri.UriSchemeHttp || pathUri.Scheme == Uri.UriSchemeHttps) { - Launcher.LaunchUriAsync(pathUri); + await Launcher.LaunchUriAsync(pathUri); return; } var file = await GetFile(pathUri.AbsolutePath.Replace('/', Path.DirectorySeparatorChar)); if (file != null) { - Launcher.LaunchFileAsync(file); + await Launcher.LaunchFileAsync(file); } else {