|
@@ -54,7 +54,10 @@ void evil_portal_scene_console_output_on_enter(void *context) {
|
|
|
const char *help_msg = "Logs saved.\n\n";
|
|
const char *help_msg = "Logs saved.\n\n";
|
|
|
furi_string_cat_str(app->text_box_store, help_msg);
|
|
furi_string_cat_str(app->text_box_store, help_msg);
|
|
|
app->text_box_store_strlen += strlen(help_msg);
|
|
app->text_box_store_strlen += strlen(help_msg);
|
|
|
- write_logs(app->portal_logs);
|
|
|
|
|
|
|
+ if(strlen(app->portal_logs) > 0) {
|
|
|
|
|
+ write_logs(app->portal_logs);
|
|
|
|
|
+ free(app->portal_logs);
|
|
|
|
|
+ }
|
|
|
if (app->show_stopscan_tip) {
|
|
if (app->show_stopscan_tip) {
|
|
|
const char *msg = "Press BACK to return\n";
|
|
const char *msg = "Press BACK to return\n";
|
|
|
furi_string_cat_str(app->text_box_store, msg);
|
|
furi_string_cat_str(app->text_box_store, msg);
|