mirror of
https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background
synced 2024-11-22 07:14:54 +00:00
Fix type error
This commit is contained in:
parent
63b78aa109
commit
db7006cb18
@ -292,7 +292,7 @@ public class BackgroundMode extends CordovaPlugin {
|
||||
eventName = "failure";
|
||||
}
|
||||
|
||||
String active = event == Event.ACTIVATE ? "true" : false;
|
||||
String active = event == Event.ACTIVATE ? "true" : "false";
|
||||
|
||||
String flag = String.format("%s._isActive=%s;",
|
||||
JS_NAMESPACE, active);
|
||||
|
Loading…
Reference in New Issue
Block a user