implementing PlayNext media

This commit is contained in:
Guillaume-fgt 2026-02-05 16:01:36 +01:00
parent 9d5654cd8e
commit 74fa8baa55
3 changed files with 68 additions and 15 deletions

View file

@ -70,6 +70,12 @@ impl ProjectNode {
Self::File { name, .. } => name,
}
}
pub fn flip_open(&mut self) {
if let Self::Folder { open, .. } = self {
*open = !*open;
}
}
}
impl Ord for ProjectNode {