Skip to content

Commit

Permalink
Update mod.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
wiiznokes committed Jul 10, 2024
1 parent 9a755bc commit 6ec06ef
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugins/src/desktop_entries/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,11 @@ impl<W: AsyncWrite + Unpin> App<W> {
return None;
}
}
} else {
// And also avoid showing anything that's set as `NoDisplay`
if de.no_display() {
return None;
}
}
deduplicator.insert(de.appid.to_string());
Some(de)
Expand Down

0 comments on commit 6ec06ef

Please sign in to comment.