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

Commit

Permalink
Name changed to PebbAuth.
Browse files Browse the repository at this point in the history
  • Loading branch information
JumpMaster committed May 27, 2015
1 parent b70691c commit d9e36d3
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 15 deletions.
6 changes: 3 additions & 3 deletions appinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"configurable"
],
"companyName": "Kevin Cooper",
"longName": "PebbleAuth",
"longName": "PebbAuth",
"projectType": "native",
"resources": {
"media": [
Expand Down Expand Up @@ -81,13 +81,13 @@
]
},
"sdkVersion": "3",
"shortName": "PebbleAuth",
"shortName": "PebbAuth",
"targetPlatforms": [
"aplite",
"basalt"
],
"uuid": "1f4d9835-3b9a-4ddd-907e-41a25d06f19c",
"versionLabel": "2.1",
"versionLabel": "2.2",
"watchapp": {
"watchface": false
}
Expand Down
20 changes: 14 additions & 6 deletions src/dod_window.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
//
// Copyright 2015
// PebbAuth for the Pebble Smartwatch
// Author: Kevin Cooper
// https://github.com/JumpMaster/PebbleAuth
//

#include "pebble.h"
#include "main.h"
#include "select_window.h"
Expand Down Expand Up @@ -98,12 +105,13 @@ void dod_window_push(int key_id) {
#ifdef PBL_SDK_2
window_set_fullscreen(dod_main_window, true);
#endif

#ifdef PBL_COLOR
window_set_background_color(dod_main_window, bg_color);
#else
window_set_background_color(dod_main_window, GColorWhite);
#endif

window_set_background_color(dod_main_window, COLOR_FALLBACK(bg_color, GColorBlack));
// #ifdef PBL_COLOR
// window_set_background_color(dod_main_window, bg_color);
// #else
// window_set_background_color(dod_main_window, GColorWhite);
// #endif

window_set_window_handlers(dod_main_window, (WindowHandlers) {
.load = window_load,
Expand Down
2 changes: 1 addition & 1 deletion src/dod_window.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// Copyright 2015
// PebbleAuth for the Pebble Smartwatch
// PebbAuth for the Pebble Smartwatch
// Author: Kevin Cooper
// https://github.com/JumpMaster/PebbleAuth
//
Expand Down
2 changes: 1 addition & 1 deletion src/js/pebble-js-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ var MAX_OTP_COUNT = 16;
var MAX_LABEL_LENGTH = 20;
var MAX_KEY_LENGTH = 64;
var MAX_MESSAGE_RETRIES = 5;
var APP_VERSION = 21;
var APP_VERSION = 22;

var otp_count = 0;
var aplite_theme = -1;
Expand Down
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// Copyright 2015
// PebbleAuth for the Pebble Smartwatch
// PebbAuth for the Pebble Smartwatch
// Author: Kevin Cooper
// https://github.com/JumpMaster/PebbleAuth
//
Expand Down
4 changes: 2 additions & 2 deletions src/main.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// Copyright 2015
// PebbleAuth for the Pebble Smartwatch
// PebbAuth for the Pebble Smartwatch
// Author: Kevin Cooper
// https://github.com/JumpMaster/PebbleAuth
//
Expand All @@ -23,7 +23,7 @@ typedef struct {
#define MAX_LABEL_LENGTH 21 // 20 + termination
#define MAX_KEY_LENGTH 65 // 64 + termination
#define MAX_COMBINED_LENGTH MAX_LABEL_LENGTH+MAX_KEY_LENGTH
#define APP_VERSION 21
#define APP_VERSION 22
#define DEBUG false

#define SELECT_WINDOW_CELL_HEIGHT 30
Expand Down
2 changes: 1 addition & 1 deletion src/select_window.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// Copyright 2015
// PebbleAuth for the Pebble Smartwatch
// PebbAuth for the Pebble Smartwatch
// Author: Kevin Cooper
// https://github.com/JumpMaster/PebbleAuth
//
Expand Down

0 comments on commit d9e36d3

Please sign in to comment.