Add files via upload

This commit is contained in:
Keb Helion 2020-02-15 00:06:01 -05:00 committed by GitHub
parent 5713b9306c
commit a4cb206340
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,17 +35,15 @@
tablet.webEventReceived.disconnect(onMoreAppWebEventReceived);
tablet.gotoHomeScreen();
Appstatus = false;
}else{
tablet.gotoWebScreen(APP_URL);
tablet.gotoWebScreen(APP_URL);
tablet.webEventReceived.connect(onMoreAppWebEventReceived);
Appstatus = true;
}
Appstatus = !Appstatus;
button.editProperties({
isActive: Appstatus
});
@ -95,7 +93,19 @@
function onScreenChanged(type, url) {
print("onScreenChanged:" + type + " | " + url);
if (type == "Web" && url.indexOf(APP_URL) != -1){
//Active
print("MORE... ACTIVE");
Appstatus = true;
}else{
//Inactive
print("MORE... INACTIVE");
Appstatus = false;
}
button.editProperties({
isActive: Appstatus
});
}