Trim file name from start path

This commit is contained in:
nminaylov
2022-11-24 16:54:46 +03:00
parent 73967fe823
commit 248cf5f852

View File

@@ -373,6 +373,10 @@ BrowserWorker*
browser->path_current = furi_string_alloc_set(path);
browser->path_next = furi_string_alloc_set(path);
if(browser_path_is_file(browser->path_start)) {
browser_path_trim(browser->path_start);
}
browser->thread = furi_thread_alloc();
furi_thread_set_name(browser->thread, "BrowserWorker");
furi_thread_set_stack_size(browser->thread, 2048);