Go back and show Toast if the watchapp doesn't really support configuration.
This commit is contained in:
parent
ad3f7e53b3
commit
988f5ef1b2
|
@ -139,6 +139,11 @@ function gbPebble() {
|
||||||
this.ready = function() {
|
this.ready = function() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.showConfiguration = function() {
|
||||||
|
console.error("This watchapp doesn't support configuration");
|
||||||
|
GBjs.closeActivity();
|
||||||
|
}
|
||||||
|
|
||||||
this.parseReturnedPebbleJS = function() {
|
this.parseReturnedPebbleJS = function() {
|
||||||
var str = document.getElementById('pastereturn').value;
|
var str = document.getElementById('pastereturn').value;
|
||||||
var needle = "pebblejs://close#";
|
var needle = "pebblejs://close#";
|
||||||
|
|
Loading…
Reference in New Issue