1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-25 10:05:49 +01:00

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

This commit is contained in:
Daniele Gobbetti 2016-06-18 21:17:38 +02:00
parent ad3f7e53b3
commit 988f5ef1b2

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#";