Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui) - Ignore hidden file when iterating SD card contents. #2925

Merged
merged 2 commits into from
Dec 23, 2022

Conversation

philmoz
Copy link
Collaborator

@philmoz philmoz commented Dec 22, 2022

Fixes #2852

Summary of changes:

Add hidden file filter to various places where the SD card files and folders are being iterated over.

@pfeerick pfeerick added enhancement ✨ New feature or request UX-UI Related to user experience (UX) or user interface (UI) behaviour labels Dec 22, 2022
@philmoz philmoz force-pushed the ignore-hidden-files branch from f78a63d to 763dd06 Compare December 22, 2022 09:50
@pfeerick pfeerick added this to the 2.8.1 milestone Dec 22, 2022
@philmoz philmoz force-pushed the ignore-hidden-files branch from 763dd06 to 056ee29 Compare December 23, 2022 00:22
@pfeerick
Copy link
Member

Working great on TX16S and Zorro with some dummy .filename.lua and ._filename.lua - were properly hidden.

@pfeerick pfeerick merged commit 919b83a into EdgeTX:main Dec 23, 2022
pfeerick pushed a commit that referenced this pull request Dec 23, 2022
* Ignore hidden file when iterating SD card contents.

* Fix compile error.
@philmoz philmoz deleted the ignore-hidden-files branch September 20, 2023 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ✨ New feature or request UX-UI Related to user experience (UX) or user interface (UI) behaviour
Projects
None yet
Development

Successfully merging this pull request may close these issues.

EdgeTX should not present files with hidden attributes stored on SD card
2 participants