ibutton: fix key name in edit submenu (#450)
Co-authored-by: SG <who.just.the.doctor@gmail.com>
This commit is contained in:
parent
19637c6fc6
commit
570f85bd9d
@ -16,6 +16,8 @@ void iButtonSceneSaveName::on_enter(iButtonApp* app) {
|
||||
|
||||
if(strcmp(key_name, "") == 0) {
|
||||
app->generate_random_name(app->get_text_store(), app->get_text_store_size());
|
||||
} else {
|
||||
app->set_text_store("%s", key_name);
|
||||
}
|
||||
|
||||
text_input_set_header_text(text_input, "Name the key");
|
||||
|
Loading…
Reference in New Issue
Block a user