[FL-2461] IR: change word from key to button (#1119)

* 2461 ir renamed menu items
* Renamed the key to the button

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
Dmitry Pavlov
2022-04-19 14:07:14 +03:00
committed by GitHub
parent ac44b9bc69
commit 29e5e57a70
4 changed files with 8 additions and 7 deletions

View File

@@ -16,8 +16,9 @@ void InfraredAppSceneEditKeySelect::on_enter(InfraredApp* app) {
Submenu* submenu = view_manager->get_submenu();
int item_number = 0;
const char* header =
app->get_edit_action() == InfraredApp::EditAction::Rename ? "Rename key:" : "Delete key:";
const char* header = app->get_edit_action() == InfraredApp::EditAction::Rename ?
"Rename Button:" :
"Delete Button:";
submenu_set_header(submenu, header);
auto remote_manager = app->get_remote_manager();