From 4d3f45e9112427b3b83048c5f5c3786116ab95d0 Mon Sep 17 00:00:00 2001 From: MX <10697207+xMasterX@users.noreply.github.com> Date: Sun, 2 Oct 2022 10:18:31 +0300 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20show=20temp=20history=20dir=20i?= =?UTF-8?q?n=20filebrowser?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- applications/services/gui/modules/file_browser_worker.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/applications/services/gui/modules/file_browser_worker.c b/applications/services/gui/modules/file_browser_worker.c index a316a0779..b533f3853 100644 --- a/applications/services/gui/modules/file_browser_worker.c +++ b/applications/services/gui/modules/file_browser_worker.c @@ -14,6 +14,7 @@ #define ASSETS_DIR "assets" #define BADUSB_LAYOUTS_DIR "layouts" +#define SUBGHZ_TEMP_DIR "tmp_history" #define BROWSER_ROOT STORAGE_ANY_PATH_PREFIX #define FILE_NAME_LEN_MAX 256 #define LONG_LOAD_THRESHOLD 100 @@ -80,7 +81,8 @@ static bool browser_filter_by_name(BrowserWorker* browser, string_t name, bool i // Skip assets folders (if enabled) if(browser->skip_assets) { return ((string_cmp_str(name, ASSETS_DIR) == 0) ? (false) : (true)) && - ((string_cmp_str(name, BADUSB_LAYOUTS_DIR) == 0) ? (false) : (true)); + ((string_cmp_str(name, BADUSB_LAYOUTS_DIR) == 0) ? (false) : (true)) && + ((string_cmp_str(name, SUBGHZ_TEMP_DIR) == 0) ? (false) : (true)); } else { return true; }