Add extra space before "No sleep time found" on emery
This commit is contained in:
13
src/c/main.c
13
src/c/main.c
@@ -141,7 +141,7 @@ static void main_window_load(Window *window) {
|
|||||||
} else {
|
} else {
|
||||||
#if PBL_RECT
|
#if PBL_RECT
|
||||||
#if PBL_DISPLAY_WIDTH >= 200
|
#if PBL_DISPLAY_WIDTH >= 200
|
||||||
text_layer_set_text(s_sleep_time_layer, " No sleep time found");
|
text_layer_set_text(s_sleep_time_layer, " No sleep time found");
|
||||||
#else
|
#else
|
||||||
text_layer_set_text(s_sleep_time_layer, " No sleep time");
|
text_layer_set_text(s_sleep_time_layer, " No sleep time");
|
||||||
#endif
|
#endif
|
||||||
@@ -310,13 +310,12 @@ static void inbox_received_handler(DictionaryIterator *iter, void *context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void init() {
|
static void init() {
|
||||||
// set colors if is_jellyfin is locally set;
|
// set colors if is_jellyfin is locally set;
|
||||||
// if it has not yet been set, it will be once
|
// if it has not yet been set, it will be once
|
||||||
// the user saves their settings
|
// the user saves their settings
|
||||||
#if DEBUG_MODE
|
|
||||||
s_is_jellyfin = 1; // allow forcing configured state for emu testing
|
|
||||||
#else
|
|
||||||
s_is_jellyfin = persist_read_int(0);
|
s_is_jellyfin = persist_read_int(0);
|
||||||
|
#if DEBUG_MODE
|
||||||
|
s_is_jellyfin = DEBUG_MODE; // allow forcing configured state for emu testing
|
||||||
#endif
|
#endif
|
||||||
switch (s_is_jellyfin) {
|
switch (s_is_jellyfin) {
|
||||||
case 1:
|
case 1:
|
||||||
|
|||||||
Reference in New Issue
Block a user