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:
parent
ad3f7e53b3
commit
988f5ef1b2
@ -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#";
|
||||
|
Loading…
Reference in New Issue
Block a user