Add log files icon in wifi marauder

This commit is contained in:
MX 2023-04-27 00:18:12 +03:00
parent 10c4cd0f41
commit f48a2713bc
No known key found for this signature in database
GPG key ID: 7CCC66B7DBDD1C83
2 changed files with 3 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 B

View file

@ -148,8 +148,10 @@ bool wifi_marauder_scene_log_viewer_on_event(void* context, SceneManagerEvent ev
// Browse
FuriString* predefined_filepath = furi_string_alloc_set_str(MARAUDER_APP_FOLDER_LOGS);
FuriString* selected_filepath = furi_string_alloc();
DialogsFileBrowserOptions browser_options;
dialog_file_browser_set_basic_options(&browser_options, ".log", &I_Text_10x10);
if(dialog_file_browser_show(
app->dialogs, selected_filepath, predefined_filepath, NULL)) {
app->dialogs, selected_filepath, predefined_filepath, &browser_options)) {
strncpy(
app->log_file_path,
furi_string_get_cstr(selected_filepath),