[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:
gornekich
2021-09-29 17:08:24 +03:00
committed by GitHub
parent 8b6c466058
commit 2eafae6b90
7 changed files with 44 additions and 38 deletions

View File

@@ -61,6 +61,5 @@ void subghz_scene_save_name_on_exit(void* context) {
SubGhz* subghz = context;
// Clear view
text_input_set_header_text(subghz->text_input, NULL);
text_input_set_result_callback(subghz->text_input, NULL, NULL, NULL, 0, false);
text_input_clean(subghz->text_input);
}