summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.ControlGallery.WP8/App.xaml.cs
diff options
context:
space:
mode:
authorE.Z. Hart <hartez@gmail.com>2016-03-24 10:33:32 -0600
committerE.Z. Hart <hartez@gmail.com>2016-03-24 10:48:21 -0600
commit1dcf5fef35c1c09e64f3c9e9ce6a31d2d0c3cd4a (patch)
tree2d3ae2fe8ef99ccca22306ecf530053d32d3bab1 /Xamarin.Forms.ControlGallery.WP8/App.xaml.cs
parenta9e90a88ed401a8605b9798d4566d09a7192e280 (diff)
downloadxamarin-forms-1dcf5fef35c1c09e64f3c9e9ce6a31d2d0c3cd4a.tar.gz
xamarin-forms-1dcf5fef35c1c09e64f3c9e9ce6a31d2d0c3cd4a.tar.bz2
xamarin-forms-1dcf5fef35c1c09e64f3c9e9ce6a31d2d0c3cd4a.zip
Move initialization of configuration files (if needed) to a pre-build task
Remove unneeded init scripts
Diffstat (limited to 'Xamarin.Forms.ControlGallery.WP8/App.xaml.cs')
-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 6b43e3b7..513632c9 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;