[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:
@@ -126,7 +126,7 @@ uint8_t IrdaApp::get_text_store_size() {
|
||||
return text_store_size;
|
||||
}
|
||||
|
||||
void IrdaApp::text_input_callback(void* context, char* text) {
|
||||
void IrdaApp::text_input_callback(void* context) {
|
||||
IrdaApp* app = static_cast<IrdaApp*>(context);
|
||||
IrdaAppEvent event;
|
||||
event.type = IrdaAppEvent::Type::TextEditDone;
|
||||
|
@@ -82,7 +82,7 @@ public:
|
||||
void notify_click();
|
||||
void notify_click_and_blink();
|
||||
|
||||
static void text_input_callback(void* context, char* text);
|
||||
static void text_input_callback(void* context);
|
||||
static void popup_callback(void* context);
|
||||
|
||||
IrdaApp() {
|
||||
|
Reference in New Issue
Block a user