Show all file extensions in mass storage

This commit is contained in:
Willy-JL
2023-08-03 00:15:27 +02:00
parent e8f11e5521
commit c4e2dba2bc
2 changed files with 2 additions and 3 deletions

View File

@@ -17,7 +17,6 @@
#include "views/mass_storage_view.h"
#define MASS_STORAGE_APP_PATH_FOLDER STORAGE_APP_DATA_PATH_PREFIX
#define MASS_STORAGE_APP_EXTENSION ".img"
#define MASS_STORAGE_FILE_NAME_LEN 40
struct MassStorageApp {

View File

@@ -6,9 +6,9 @@ static bool mass_storage_file_select(MassStorageApp* mass_storage) {
furi_assert(mass_storage);
DialogsFileBrowserOptions browser_options;
dialog_file_browser_set_basic_options(
&browser_options, MASS_STORAGE_APP_EXTENSION, &I_mass_storage_10px);
dialog_file_browser_set_basic_options(&browser_options, "*", &I_mass_storage_10px);
browser_options.base_path = MASS_STORAGE_APP_PATH_FOLDER;
browser_options.hide_ext = false;
// Input events and views are managed by file_select
bool res = dialog_file_browser_show(