Skip to content

Commit

Permalink
main stable sort of buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
Nosterx committed Apr 22, 2024
1 parent 907c5bf commit 53d7c0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ impl Default for BrowDiInit {
fn default() -> Self {
let browsers = AppInfo::recommended_for_type("x-scheme-handler/http")
.into_iter()
.sorted_by(|a, b| Ord::cmp(&a.name(), &b.name()))
.filter(|app_info| app_info.id().is_some_and(|id| !EXCLUDED_APPS.contains(&id.as_str())))
.collect();
BrowDiInit {
Expand Down

0 comments on commit 53d7c0b

Please sign in to comment.