summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.ControlGallery.Android/Activity1.cs
diff options
context:
space:
mode:
authorE.Z. Hart <hartez@gmail.com>2016-03-23 15:07:26 -0600
committerE.Z. Hart <hartez@gmail.com>2016-03-23 15:07:26 -0600
commit1200fcce1b80c1ef70a06a0dfedb76ab13b0264e (patch)
treed2ee8cc05647abe8d24f4698610fd96f6f61bd9f /Xamarin.Forms.ControlGallery.Android/Activity1.cs
parent5c63c8c74a330f3351ca3839dbab1646e988fd7d (diff)
downloadxamarin-forms-1200fcce1b80c1ef70a06a0dfedb76ab13b0264e.tar.gz
xamarin-forms-1200fcce1b80c1ef70a06a0dfedb76ab13b0264e.tar.bz2
xamarin-forms-1200fcce1b80c1ef70a06a0dfedb76ab13b0264e.zip
[A] Fix insights api key access for Legacy Android
Diffstat (limited to 'Xamarin.Forms.ControlGallery.Android/Activity1.cs')
-rw-r--r--Xamarin.Forms.ControlGallery.Android/Activity1.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.ControlGallery.Android/Activity1.cs b/Xamarin.Forms.ControlGallery.Android/Activity1.cs
index 3426ce21..9dbd4b63 100644
--- a/Xamarin.Forms.ControlGallery.Android/Activity1.cs
+++ b/Xamarin.Forms.ControlGallery.Android/Activity1.cs
@@ -188,7 +188,7 @@ namespace Xamarin.Forms.ControlGallery.Android
base.OnCreate(bundle);
if (!Debugger.IsAttached)
- Insights.Initialize(App.InsightsApiKey, this.ApplicationContext);
+ Insights.Initialize(App.Secrets["InsightsApiKey"], this.ApplicationContext);
Forms.Init(this, bundle);
FormsMaps.Init(this, bundle);