[FL-1498] Keyboard save focus (#730)
* text_input: set focus on Save button if text is set * text_input: add clear API, format documentation * all: rework text input clean with new API
This commit is contained in:
@@ -75,6 +75,5 @@ bool archive_scene_rename_on_event(void* context, SceneManagerEvent event) {
|
||||
void archive_scene_rename_on_exit(void* context) {
|
||||
ArchiveApp* archive = (ArchiveApp*)context;
|
||||
// Clear view
|
||||
text_input_set_header_text(archive->text_input, NULL);
|
||||
text_input_set_result_callback(archive->text_input, NULL, NULL, NULL, 0, false);
|
||||
text_input_clean(archive->text_input);
|
||||
}
|
||||
|
Reference in New Issue
Block a user