Skip to content

Commit f7195da

Browse files
committed
update pebble watchapp
1 parent 798f9c3 commit f7195da

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Android/src/main/assets/Tower.pbw

6 Bytes
Binary file not shown.

Pebble/src/main.c

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <pebble.h>
22
#include <string.h>
3-
#define APP_VERSION "one"
3+
#define APP_VERSION "1"
44

55
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!variables
66
static Window *window;
@@ -188,7 +188,7 @@ static void window_load(Window *window) {
188188
text_layer_set_font(mode_layer, fonts_get_system_font(FONT_KEY_GOTHIC_28_BOLD));
189189
layer_add_child(window_layer, text_layer_get_layer(mode_layer));
190190

191-
follow_type_layer = text_layer_create((GRect) { .origin = { 10, 28 }, .size = { bounds.size.w-50, 35 } });//was 15+35+10
191+
follow_type_layer = text_layer_create((GRect) { .origin = { 5, 28 }, .size = { bounds.size.w-45, 35 } });
192192
text_layer_set_text(follow_type_layer, "");
193193
text_layer_set_text_alignment(follow_type_layer, GTextAlignmentLeft);
194194
text_layer_set_font(follow_type_layer, fonts_get_system_font(FONT_KEY_GOTHIC_24_BOLD));
@@ -223,9 +223,7 @@ static void init(void) {
223223
app_message_register_inbox_dropped(in_dropped_handler);
224224
app_message_register_outbox_sent(out_sent_handler);
225225
app_message_register_outbox_failed(out_failed_handler);
226-
const uint32_t inbound_size = 128;
227-
const uint32_t outbound_size = 16;
228-
app_message_open(inbound_size, outbound_size);
226+
app_message_open(256,16);
229227
app_comm_set_sniff_interval(SNIFF_INTERVAL_REDUCED);
230228
}
231229

0 commit comments

Comments
 (0)