Closes #1 - wide layout.

This commit is contained in:
2015-08-27 20:28:16 +01:00
parent 040c136746
commit cd213650e1
7 changed files with 73 additions and 12 deletions

View File

@@ -24,7 +24,8 @@
// });
Pebble.addEventListener('showConfiguration', function(e) {
Pebble.openURL('https://pconf.bthlabs.pl/intuiclock/index.html');
Pebble.openURL('http://127.0.0.1/u/bilbo/pebble/iclock/index.html');
// Pebble.openURL('https://pconf.bthlabs.pl/intuiclock/index.html');
});
Pebble.addEventListener('webviewclosed', function(e) {
@@ -35,6 +36,7 @@ Pebble.addEventListener('webviewclosed', function(e) {
dict['KEY_SECONDS_HAND'] = config_data['seconds_hand'];
dict['KEY_BATTERY_INDICATOR'] = config_data['battery_indicator'];
dict['KEY_DATE_FORMAT'] = config_data['date_format'];
dict['KEY_WIDE_LAYOUT'] = config_data['wide_layout'];
Pebble.sendAppMessage(dict, function() {
// console.log('Send successful!');