[FL-2344] iButton deleted back button (#1096)

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
Dmitry Pavlov
2022-04-11 14:59:50 +03:00
committed by GitHub
parent b22ad77bbe
commit a25552eb99
2 changed files with 6 additions and 27 deletions

View File

@@ -22,7 +22,7 @@ void iButtonSceneDeleteConfirm::on_enter(iButtonApp* app) {
app->set_text_store("\e#Delete %s?\e#", ibutton_key_get_name_p(key));
widget_add_text_box_element(
widget, 0, 0, 128, 27, AlignCenter, AlignCenter, app->get_text_store());
widget_add_button_element(widget, GuiButtonTypeLeft, "Back", widget_callback, app);
widget_add_button_element(widget, GuiButtonTypeLeft, "Cancel", widget_callback, app);
widget_add_button_element(widget, GuiButtonTypeRight, "Delete", widget_callback, app);
switch(ibutton_key_get_type(key)) {