fix(color): displayed image not always cleared when changing folder in SD browser (#4781)

This commit is contained in:
philmoz
2024-03-22 10:22:12 +10:00
committed by GitHub
parent ed85886ddf
commit c568e574de
+1
View File
@@ -279,6 +279,7 @@ void FileBrowser::onPress(const char* name, bool is_dir)
const char* fullpath = getFullPath(name);
if (is_dir) {
f_chdir(fullpath);
if (fileSelected) fileSelected(nullptr, nullptr, nullptr);
refresh();
return;
}