Skip to content

Commit

Permalink
KEY_SOLID_MINUTES is returned from the config screen as a 16-bit int
Browse files Browse the repository at this point in the history
  • Loading branch information
wes-brooks committed Jan 15, 2016
1 parent 5115bcd commit 3f08639
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/big_again.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ static void inbox_received_handler(DictionaryIterator *iter, void *context) {
// Should minutes be shown in solid color?
Tuple *solid_minutes_t = dict_find(iter, KEY_SOLID_MINUTES);
if(solid_minutes_t) {
int val = solid_minutes_t->value->int32;
int val = solid_minutes_t->value->int16;
solid_minutes = (val == 0 ? false : true);
persist_write_bool(KEY_SOLID_MINUTES, solid_minutes);
}
Expand Down

0 comments on commit 3f08639

Please sign in to comment.