Commit 8de440b8 authored by Bilal Elmoussaoui's avatar Bilal Elmoussaoui

System icons: filter out empty contexts

Fixes #22
parent 76c3abac
Pipeline #167870 failed with stage
in 3 minutes and 48 seconds
......@@ -136,6 +136,10 @@ impl IconsModel {
})
.collect();
icons.sort_by(|a, b| a.name.cmp(&b.name));
if icons.empty() {
continue;
}
let context = context_str.to_string();
self.system_icons.borrow_mut().insert(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment