Skip to content

Commit

Permalink
fixed warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mariotaku committed Oct 16, 2023
1 parent a25d9d3 commit 32c9baf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/ui/launcher/launcher.controller.c
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ static void show_decoder_error() {
lv_obj_t *msgbox = lv_msgbox_create_i18n(NULL, locstr("No working decoder"), "placeholder", btn_txts, false);
lv_obj_add_event_cb(msgbox, decoder_error_cb, LV_EVENT_VALUE_CHANGED, NULL);
lv_obj_t *msgview = lv_msgbox_get_text(msgbox);
lv_label_set_text_fmt(msgview, locstr("Streaming can't work without a valid decoder."));
lv_label_set_text_static(msgview, locstr("Streaming can't work without a valid decoder."));
lv_obj_center(msgbox);
}

Expand All @@ -478,9 +478,9 @@ static void show_conf_persistent_error() {
lv_obj_t *msgbox = lv_msgbox_create_i18n(NULL, locstr("Can't save settings"), "placeholder", btn_txts, false);
lv_obj_add_event_cb(msgbox, decoder_error_cb, LV_EVENT_VALUE_CHANGED, NULL);
lv_obj_t *msgview = lv_msgbox_get_text(msgbox);
lv_label_set_text_fmt(msgview, locstr("Can't find a writable directory to save settings. Settings and pairing "
"information will be lost when the TV is turned off.\n\n"
"(If you're using webOS 3.0 or newer, restart the TV may fix this issue.)"));
lv_label_set_text_static(msgview, locstr("Can't find a writable directory to save settings. Settings and pairing "
"information will be lost when the TV is turned off.\n\n"
"(If you're using webOS 3.0 or newer, restart the TV may fix this issue.)"));
lv_obj_center(msgbox);
}

Expand Down

0 comments on commit 32c9baf

Please sign in to comment.