fixed a bug on Android keeping ticks rectangular

master 1.5
Alina Marquardt 2015-11-24 23:23:27 +01:00
parent 4b254e6a42
commit 4e298171ef
2 changed files with 4 additions and 4 deletions

View File

@ -25,7 +25,7 @@
"chalk"
],
"uuid": "ceeae81b-6b50-43b6-8bbb-6d6f6eb62b69",
"versionLabel": "1.4",
"versionLabel": "1.5",
"watchapp": {
"watchface": true
}

View File

@ -7,7 +7,7 @@ Pebble.addEventListener('showConfiguration', function() {
if(Pebble.getActiveWatchInfo) {
watch = Pebble.getActiveWatchInfo();
}
var url='http://pebble.lastfuture.de/config/supersimple14/';
var url='http://pebble.lastfuture.de/config/supersimple15/';
if (watch.platform != "chalk") {
url += "?rect=true";
}
@ -24,10 +24,10 @@ Pebble.addEventListener('webviewclosed', function(e) {
colorm: parseInt(configData.colorm, 16),
colorh: parseInt(configData.colorh, 16),
colorp: parseInt(configData.colorp, 16),
shadows: configData.shadows === true,
shadows: configData.shadows === 'true',
ticks: configData.ticks,
colort: parseInt(configData.colort, 16),
rectticks: configData.rectticks === true
rectticks: configData.rectticks === 'true'
}, function() {
console.log('Send successful!');
}, function() {