Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/pebble-mario.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <ClusterM@users.noreply.github.com>2015-07-12 19:35:01 +0300
committerAlexey 'Cluster' Avdyukhin <ClusterM@users.noreply.github.com>2015-07-12 19:35:01 +0300
commit64e2f4062e8c75bef08ad48e89911d2ec5f14f4f (patch)
tree55a579d2b23cca98bcc3d29234e79e0e7efd1dca
parent50af769b768ff9a9f75e5ebbd51d8aff70d66ca0 (diff)
Another bugfix
-rw-r--r--src/pebble-mario.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pebble-mario.c b/src/pebble-mario.c
index 878af1b..e6e4691 100644
--- a/src/pebble-mario.c
+++ b/src/pebble-mario.c
@@ -578,7 +578,7 @@ void in_received_handler(DictionaryIterator *received, void *context) {
else
config_show_no_phone = tuple->value->int8;
layer_mark_dirty(phone_battery_layer);
- persist_write_int(MSG_SHOW_NO_PHONE, config_show_no_phone);
+ persist_write_bool(MSG_SHOW_NO_PHONE, config_show_no_phone);
}
tuple = dict_find(received, MSG_SHOW_BATTERY);
if (tuple) {