diff --git a/src/c/main.c b/src/c/main.c index 93fba76..033886f 100644 --- a/src/c/main.c +++ b/src/c/main.c @@ -141,7 +141,7 @@ static void main_window_load(Window *window) { } else { #if PBL_RECT #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 text_layer_set_text(s_sleep_time_layer, " No sleep time"); #endif @@ -310,13 +310,12 @@ static void inbox_received_handler(DictionaryIterator *iter, void *context) { } static void init() { -// set colors if is_jellyfin is locally set; -// if it has not yet been set, it will be once -// the user saves their settings -#if DEBUG_MODE - s_is_jellyfin = 1; // allow forcing configured state for emu testing -#else + // set colors if is_jellyfin is locally set; + // if it has not yet been set, it will be once + // the user saves their settings s_is_jellyfin = persist_read_int(0); +#if DEBUG_MODE + s_is_jellyfin = DEBUG_MODE; // allow forcing configured state for emu testing #endif switch (s_is_jellyfin) { case 1: