Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Commit

Permalink
PebbleAuth 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JumpMaster committed May 10, 2015
1 parent 03e0d8c commit 3c21b49
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/js/pebble-js-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,10 @@ Pebble.addEventListener("webviewclosed",
localStorage.removeItem('secret_pair'+i);
}
otp_count = 0;
localStorage.removeItem("theme");
localStorage.removeItem("basalt_colors");
localStorage.removeItem("font_style");
localStorage.removeItem("idle_timeout");
sendAppMessage(configuration);
return;
}
Expand Down
3 changes: 2 additions & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ static void handle_second_tick(struct tm *tick_time, TimeUnits units_changed) {

if (!loading_complete || override_second_counter)
return;

animate_second_counter(false);
}

Expand Down Expand Up @@ -864,6 +864,7 @@ static void in_received_handler(DictionaryIterator *iter, void *context) {
APP_LOG(APP_LOG_LEVEL_DEBUG, "INFO: REQUESTING CODES");
loading_complete = false;
requesting_code = 1;
request_key(requesting_code++);
}
} // key_count_tuple

Expand Down

0 comments on commit 3c21b49

Please sign in to comment.