From 46dd479636f4b6e6d99ee84f828836e52c8065c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Katzer?= Date: Mon, 9 Dec 2013 13:37:11 +0100 Subject: [PATCH] Rename variable --- src/wp8/BackgroundMode.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp8/BackgroundMode.cs b/src/wp8/BackgroundMode.cs index ef896e3..323bd28 100644 --- a/src/wp8/BackgroundMode.cs +++ b/src/wp8/BackgroundMode.cs @@ -32,7 +32,7 @@ namespace Cordova.Extension.Commands /// /// Flag gibt an, ob die App im Hintergrund wach gehalten werden soll /// - private static bool isEnabled = true; + private static bool IsEnabled = true; /// /// Lokalisiert das Smartphone @@ -71,7 +71,7 @@ namespace Cordova.Extension.Commands /// public static void Enable () { - isEnabled = true; + IsEnabled = true; } /// @@ -79,7 +79,7 @@ namespace Cordova.Extension.Commands /// public static void Disable () { - isEnabled = false; + IsEnabled = false; Deactivate(); } @@ -98,7 +98,7 @@ namespace Cordova.Extension.Commands /// public static void Activate () { - if (Geolocator == null && isEnabled && IsServiceAvailable()) + if (Geolocator == null && IsEnabled && IsServiceAvailable()) { Geolocator = new Geolocator();