mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-27 06:50:21 +00:00
Add log files icon in wifi marauder
This commit is contained in:
parent
10c4cd0f41
commit
f48a2713bc
2 changed files with 3 additions and 1 deletions
BIN
applications/external/wifi_marauder_companion/assets/Text_10x10.png
vendored
Normal file
BIN
applications/external/wifi_marauder_companion/assets/Text_10x10.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 158 B |
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue