We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5369b4e commit 3835133Copy full SHA for 3835133
cosmic-applet-network/src/network_manager/mod.rs
@@ -631,7 +631,7 @@ impl NetworkManagerState {
631
})
632
.cloned()
633
.collect();
634
- wireless_access_points.sort_by_key(|ap| ap.strength);
+ wireless_access_points.sort_by(|a, b| b.strength.cmp(&a.strength));
635
self_.wireless_access_points = wireless_access_points;
636
for ap in &self_.wireless_access_points {
637
tracing::info!(
0 commit comments