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

Commit

Permalink
Version 2.2
Browse files Browse the repository at this point in the history
Fixed configuration launch issue in firmware 3.0 for Pebble Time
  • Loading branch information
JumpMaster committed May 29, 2015
1 parent d9e36d3 commit 89b33b6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions appinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"configurable"
],
"companyName": "Kevin Cooper",
"longName": "PebbAuth",
"longName": "QuickAuth",
"projectType": "native",
"resources": {
"media": [
Expand Down Expand Up @@ -81,7 +81,7 @@
]
},
"sdkVersion": "3",
"shortName": "PebbAuth",
"shortName": "QuickAuth",
"targetPlatforms": [
"aplite",
"basalt"
Expand Down
2 changes: 1 addition & 1 deletion src/dod_window.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ void dod_window_push(int key_id) {
window_set_fullscreen(dod_main_window, true);
#endif

window_set_background_color(dod_main_window, COLOR_FALLBACK(bg_color, GColorBlack));
window_set_background_color(dod_main_window, COLOR_FALLBACK(bg_color, GColorWhite));
// #ifdef PBL_COLOR
// window_set_background_color(dod_main_window, bg_color);
// #else
Expand Down
10 changes: 8 additions & 2 deletions src/js/pebble-js-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,15 @@ function getWatchVersion() {

var watch_version = 1;

var watch_name;// = Pebble.getActiveWatchInfo().model;

if(Pebble.getActiveWatchInfo) {
// Available for use!
var watch_name = Pebble.getActiveWatchInfo().model;
try {
watch_name = Pebble.getActiveWatchInfo().model;
} catch(err) {
watch_name = "pebble_time";
console.log("INFO: getActiveWatchInfo() error. Presuming Pebble Time");
}

if (watch_name.indexOf("pebble_time_steel") >= 0) {
watch_version = 4;
Expand Down

0 comments on commit 89b33b6

Please sign in to comment.