Added TODO

This commit is contained in:
Antoine Gersant 2024-08-24 20:58:17 -07:00
parent a3c2b3bc32
commit 8141e565e0

View file

@ -83,6 +83,7 @@ impl Browser {
(File::Directory(a), File::Directory(b)) => (a, b),
(File::Song(a), File::Song(b)) => (a, b),
};
// TODO replace unicase with icu_collator to handle accented characters too
let a = UniCase::new(a.as_os_str().to_string_lossy());
let b = UniCase::new(b.as_os_str().to_string_lossy());
a.cmp(&b)