diff options
author | あく <alleteam@gmail.com> | 2021-06-24 00:46:52 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-24 00:46:52 +0300 |
commit | 4cf000f27010c904db2e76d7afa78373bfa4aefa (patch) | |
tree | 8034fcc3c3a4cfbac52287b9833694cef1eb0143 /applications/ibutton | |
parent | ed75bc2c3966f2fd86413defcd79e45188b09f35 (diff) |
[FL-1465] Archive application bug fixes. Gui: update TextInput API. (#530)
* Update MLib to latest master.
* Archive: update string_t usage, add unsafe usage TODO, change model type to blocking and fix invalid usage.
* Gui: update text_input API and it's usage.
* fix blocking model issues
* fix unsafe string_t usage
Co-authored-by: Igor Baranov <bedtimeposts@gmail.com>
Co-authored-by: its your bedtime <23366927+itsyourbedtime@users.noreply.github.com>
Diffstat (limited to 'applications/ibutton')
-rw-r--r-- | applications/ibutton/scene/ibutton-scene-save-name.cpp | 2 | ||||
-rw-r--r-- | applications/ibutton/scene/ibutton-scene-save-name.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/applications/ibutton/scene/ibutton-scene-save-name.cpp b/applications/ibutton/scene/ibutton-scene-save-name.cpp index 04230332..75676a80 100644 --- a/applications/ibutton/scene/ibutton-scene-save-name.cpp +++ b/applications/ibutton/scene/ibutton-scene-save-name.cpp @@ -51,7 +51,7 @@ void iButtonSceneSaveName::on_exit(iButtonApp* app) { text_input_set_result_callback(text_input, NULL, NULL, NULL, 0); } -void iButtonSceneSaveName::text_input_callback(void* context, char* text) { +void iButtonSceneSaveName::text_input_callback(void* context) { iButtonApp* app = static_cast<iButtonApp*>(context); iButtonEvent event; diff --git a/applications/ibutton/scene/ibutton-scene-save-name.h b/applications/ibutton/scene/ibutton-scene-save-name.h index 811b0f65..1d7126e9 100644 --- a/applications/ibutton/scene/ibutton-scene-save-name.h +++ b/applications/ibutton/scene/ibutton-scene-save-name.h @@ -8,5 +8,5 @@ public: void on_exit(iButtonApp* app) final; private: - void text_input_callback(void* context, char* text); + void text_input_callback(void* context); };
\ No newline at end of file |