Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/flipperzero-firmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgornekich <n.gorbadey@gmail.com>2021-09-29 17:08:24 +0300
committerGitHub <noreply@github.com>2021-09-29 17:08:24 +0300
commit2eafae6b90b1199e1771409434565838da507f8a (patch)
treeab12d6b05bd46145b81363086180da01d7289f24 /applications/ibutton
parent8b6c466058a63922e7846ebffcfc7b14884d455a (diff)
[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
Diffstat (limited to 'applications/ibutton')
-rw-r--r--applications/ibutton/scene/ibutton-scene-save-name.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/applications/ibutton/scene/ibutton-scene-save-name.cpp b/applications/ibutton/scene/ibutton-scene-save-name.cpp
index 2fcd0804..65cd560a 100644
--- a/applications/ibutton/scene/ibutton-scene-save-name.cpp
+++ b/applications/ibutton/scene/ibutton-scene-save-name.cpp
@@ -48,8 +48,7 @@ bool iButtonSceneSaveName::on_event(iButtonApp* app, iButtonEvent* event) {
void iButtonSceneSaveName::on_exit(iButtonApp* app) {
TextInput* text_input = app->get_view_manager()->get_text_input();
- text_input_set_header_text(text_input, "");
- text_input_set_result_callback(text_input, NULL, NULL, NULL, 0, false);
+ text_input_clean(text_input);
}
void iButtonSceneSaveName::text_input_callback(void* context) {