Go back and show Toast if the watchapp doesn't really support configuration.

master
Daniele Gobbetti 2016-06-18 21:17:38 +02:00
parent ad3f7e53b3
commit 988f5ef1b2
1 changed files with 5 additions and 0 deletions

View File

@ -139,6 +139,11 @@ function gbPebble() {
this.ready = function() {
}
this.showConfiguration = function() {
console.error("This watchapp doesn't support configuration");
GBjs.closeActivity();
}
this.parseReturnedPebbleJS = function() {
var str = document.getElementById('pastereturn').value;
var needle = "pebblejs://close#";