[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>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
@@ -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);
|
||||
};
|
Reference in New Issue
Block a user