From 542e6879bc340390215aa99087ab3d39d3159330 Mon Sep 17 00:00:00 2001 From: Kenneth van Ewijk Date: Fri, 11 Dec 2015 13:46:04 +0100 Subject: [PATCH] Added settings for auto refresh --- HueUWP/App.xaml.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/HueUWP/App.xaml.cs b/HueUWP/App.xaml.cs index bc56b4e..b9231dc 100644 --- a/HueUWP/App.xaml.cs +++ b/HueUWP/App.xaml.cs @@ -98,7 +98,10 @@ namespace HueUWP if(LOCAL_SETTINGS.Values["ip"] == null) LOCAL_SETTINGS.Values["ip"] = "145.48.205.190"; if (LOCAL_SETTINGS.Values["port"] == null) - LOCAL_SETTINGS.Values["port"] = "80"; + LOCAL_SETTINGS.Values["port"] = 80; + if (LOCAL_SETTINGS.Values["autorefresh"] == null) + LOCAL_SETTINGS.Values["autorefresh"] = true; + // Ensure the current window is active