[FL-2464, FL-2466] RFID, ibutton text fix #1413
Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
parent
ac60d1808a
commit
30820b83b5
@ -21,7 +21,7 @@ void ibutton_scene_retry_confirm_on_enter(void* context) {
|
|||||||
widget_add_string_element(
|
widget_add_string_element(
|
||||||
widget, 64, 19, AlignCenter, AlignBottom, FontPrimary, "Return to reading?");
|
widget, 64, 19, AlignCenter, AlignBottom, FontPrimary, "Return to reading?");
|
||||||
widget_add_string_element(
|
widget_add_string_element(
|
||||||
widget, 64, 29, AlignCenter, AlignBottom, FontSecondary, "All unsaved data will be lost");
|
widget, 64, 29, AlignCenter, AlignBottom, FontSecondary, "All unsaved data will be lost.");
|
||||||
|
|
||||||
view_dispatcher_switch_to_view(ibutton->view_dispatcher, iButtonViewWidget);
|
view_dispatcher_switch_to_view(ibutton->view_dispatcher, iButtonViewWidget);
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@ void infrared_scene_ask_back_on_enter(void* context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog_ex_set_text(
|
dialog_ex_set_text(
|
||||||
dialog_ex, "All unsaved data\nwill be lost", 64, 31, AlignCenter, AlignCenter);
|
dialog_ex, "All unsaved data\nwill be lost.", 64, 31, AlignCenter, AlignCenter);
|
||||||
dialog_ex_set_icon(dialog_ex, 0, 0, NULL);
|
dialog_ex_set_icon(dialog_ex, 0, 0, NULL);
|
||||||
dialog_ex_set_left_button_text(dialog_ex, "Exit");
|
dialog_ex_set_left_button_text(dialog_ex, "Exit");
|
||||||
dialog_ex_set_center_button_text(dialog_ex, NULL);
|
dialog_ex_set_center_button_text(dialog_ex, NULL);
|
||||||
|
@ -11,7 +11,7 @@ void infrared_scene_ask_retry_on_enter(void* context) {
|
|||||||
|
|
||||||
dialog_ex_set_header(dialog_ex, "Return to reading?", 64, 0, AlignCenter, AlignTop);
|
dialog_ex_set_header(dialog_ex, "Return to reading?", 64, 0, AlignCenter, AlignTop);
|
||||||
dialog_ex_set_text(
|
dialog_ex_set_text(
|
||||||
dialog_ex, "All unsaved data\nwill be lost", 64, 31, AlignCenter, AlignCenter);
|
dialog_ex, "All unsaved data\nwill be lost.", 64, 31, AlignCenter, AlignCenter);
|
||||||
dialog_ex_set_icon(dialog_ex, 0, 0, NULL);
|
dialog_ex_set_icon(dialog_ex, 0, 0, NULL);
|
||||||
dialog_ex_set_left_button_text(dialog_ex, "Exit");
|
dialog_ex_set_left_button_text(dialog_ex, "Exit");
|
||||||
dialog_ex_set_center_button_text(dialog_ex, NULL);
|
dialog_ex_set_center_button_text(dialog_ex, NULL);
|
||||||
|
@ -19,7 +19,7 @@ void LfRfidAppSceneRetryConfirm::on_enter(LfRfidApp* app, bool /* need_restore *
|
|||||||
|
|
||||||
line_1->set_text("Return to reading?", 64, 19, 128 - 2, AlignCenter, AlignBottom, FontPrimary);
|
line_1->set_text("Return to reading?", 64, 19, 128 - 2, AlignCenter, AlignBottom, FontPrimary);
|
||||||
line_2->set_text(
|
line_2->set_text(
|
||||||
"All unsaved data will be lost", 64, 29, 0, AlignCenter, AlignBottom, FontSecondary);
|
"All unsaved data will be lost.", 64, 29, 0, AlignCenter, AlignBottom, FontSecondary);
|
||||||
|
|
||||||
app->view_controller.switch_to<ContainerVM>();
|
app->view_controller.switch_to<ContainerVM>();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user