mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
fix: incomplete hidden state check on Windows for Cha
This commit is contained in:
parent
2d95221f59
commit
e02be0ff8a
1 changed files with 4 additions and 1 deletions
|
|
@ -182,7 +182,10 @@ impl Cha {
|
|||
|
||||
#[inline]
|
||||
pub const fn is_hidden(&self) -> bool {
|
||||
win_either!(self.kind.contains(ChaKind::SYSTEM), self.kind.contains(ChaKind::HIDDEN))
|
||||
win_either!(
|
||||
self.kind.contains(ChaKind::HIDDEN | ChaKind::SYSTEM),
|
||||
self.kind.contains(ChaKind::HIDDEN)
|
||||
)
|
||||
}
|
||||
|
||||
#[inline]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue