[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

@@ -14,7 +14,7 @@ void InfraredAppSceneEditRename::on_enter(InfraredApp* app) {
strncpy(buffer_str, button_name.c_str(), max_len);
buffer_str[max_len + 1] = 0;
enter_name_length = max_len;
text_input_set_header_text(text_input, "Name the key");
text_input_set_header_text(text_input, "Name the button");
} else {
auto remote_name = remote_manager->get_remote_name();
strncpy(app->get_text_store(0), remote_name.c_str(), app->get_text_store_size());