fix: update freedesktop-desktop-entry and fix app-list icons

This commit is contained in:
wiiznokes 2024-06-06 22:11:40 +02:00 committed by GitHub
parent c60a100135
commit 68fd2a6c17
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 229 additions and 208 deletions

View file

@ -40,7 +40,7 @@ impl AppListConfig {
}
}
pub fn remove_pinned(&mut self, id: String, config: &Config) {
pub fn remove_pinned(&mut self, id: &str, config: &Config) {
if let Some(pos) = self.favorites.iter().position(|e| e == &id) {
self.favorites.remove(pos);
let _ = self.write_entry(config);