summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.ControlGallery.WP8
diff options
context:
space:
mode:
authorE.Z. Hart <hartez@gmail.com>2016-03-24 16:33:32 (GMT)
committerE.Z. Hart <hartez@gmail.com>2016-03-24 16:48:21 (GMT)
commit1dcf5fef35c1c09e64f3c9e9ce6a31d2d0c3cd4a (patch)
tree2d3ae2fe8ef99ccca22306ecf530053d32d3bab1 /Xamarin.Forms.ControlGallery.WP8
parenta9e90a88ed401a8605b9798d4566d09a7192e280 (diff)
downloadxamarin-forms-1dcf5fef35c1c09e64f3c9e9ce6a31d2d0c3cd4a.zip
xamarin-forms-1dcf5fef35c1c09e64f3c9e9ce6a31d2d0c3cd4a.tar.gz
xamarin-forms-1dcf5fef35c1c09e64f3c9e9ce6a31d2d0c3cd4a.tar.bz2
Move initialization of configuration files (if needed) to a pre-build task
Remove unneeded init scripts
Diffstat (limited to 'Xamarin.Forms.ControlGallery.WP8')
-rw-r--r--Xamarin.Forms.ControlGallery.WP8/App.xaml.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Xamarin.Forms.ControlGallery.WP8/App.xaml.cs b/Xamarin.Forms.ControlGallery.WP8/App.xaml.cs
index 6b43e3b..513632c 100644
--- a/Xamarin.Forms.ControlGallery.WP8/App.xaml.cs
+++ b/Xamarin.Forms.ControlGallery.WP8/App.xaml.cs
@@ -26,9 +26,9 @@ namespace Xamarin.Forms.ControlGallery.WP8
public App()
{
if (!Debugger.IsAttached)
- Insights.Initialize (Controls.App.Secrets["InsightsApiKey"]);
-
- FormsMaps.Init (Controls.App.Secrets["WP8AppId"], Controls.App.Secrets["WP8AuthToken"]);
+ Insights.Initialize (Controls.App.InsightsApiKey);
+
+ FormsMaps.Init (Controls.App.Config["WP8AppId"], Controls.App.Config["WP8AuthToken"]);
// Global handler for uncaught exceptions.
UnhandledException += Application_UnhandledException;