mirror of
https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background
synced 2024-11-14 11:34:54 +00:00
Rename variable
This commit is contained in:
parent
3d98c0f07f
commit
46dd479636
@ -32,7 +32,7 @@ namespace Cordova.Extension.Commands
|
||||
/// </summary>
|
||||
/// Flag gibt an, ob die App im Hintergrund wach gehalten werden soll
|
||||
/// </summary>
|
||||
private static bool isEnabled = true;
|
||||
private static bool IsEnabled = true;
|
||||
|
||||
/// </summary>
|
||||
/// Lokalisiert das Smartphone
|
||||
@ -71,7 +71,7 @@ namespace Cordova.Extension.Commands
|
||||
/// </summary>
|
||||
public static void Enable ()
|
||||
{
|
||||
isEnabled = true;
|
||||
IsEnabled = true;
|
||||
}
|
||||
|
||||
/// </summary>
|
||||
@ -79,7 +79,7 @@ namespace Cordova.Extension.Commands
|
||||
/// </summary>
|
||||
public static void Disable ()
|
||||
{
|
||||
isEnabled = false;
|
||||
IsEnabled = false;
|
||||
|
||||
Deactivate();
|
||||
}
|
||||
@ -98,7 +98,7 @@ namespace Cordova.Extension.Commands
|
||||
/// </summary>
|
||||
public static void Activate ()
|
||||
{
|
||||
if (Geolocator == null && isEnabled && IsServiceAvailable())
|
||||
if (Geolocator == null && IsEnabled && IsServiceAvailable())
|
||||
{
|
||||
Geolocator = new Geolocator();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user