Remove prev_path

This commit is contained in:
Willy-JL
2025-01-17 00:39:01 +00:00
parent 2c9162585e
commit 521cce3d04
2 changed files with 0 additions and 4 deletions

View File

@@ -105,7 +105,6 @@ static void archive_update_formatted_path(ArchiveBrowserViewModel* model) {
}
}
furi_string_set(browser->prev_path, browser->path);
browser->path_changed = false;
}
@@ -660,7 +659,6 @@ ArchiveBrowserView* browser_alloc(void) {
browser->scroll_timer = furi_timer_alloc(browser_scroll_timer, FuriTimerTypePeriodic, browser);
browser->path = furi_string_alloc_set(archive_get_default_path(TAB_DEFAULT));
browser->prev_path = furi_string_alloc();
browser->formatted_path = furi_string_alloc();
browser->path_changed = true;
@@ -696,7 +694,6 @@ void browser_free(ArchiveBrowserView* browser) {
false);
furi_string_free(browser->path);
furi_string_free(browser->prev_path);
furi_string_free(browser->formatted_path);
view_free(browser->view);

View File

@@ -89,7 +89,6 @@ struct ArchiveBrowserView {
ArchiveBrowserViewCallback callback;
void* context;
FuriString* path;
FuriString* prev_path;
FuriString* formatted_path;
bool path_changed;
InputKey last_tab_switch_dir;