Skip to content

Commit

Permalink
fix plugin toggle screen comparison
Browse files Browse the repository at this point in the history
(cherry picked from commit bf2ab8d)
  • Loading branch information
deirn committed Jun 19, 2024
1 parent 01262c5 commit a01b945
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ public ConfigListWidget getOptions() {

var aIsWaila = aId.getNamespace().equals(WailaConstants.NAMESPACE);
var bIsWaila = bId.getNamespace().equals(WailaConstants.NAMESPACE);
if (aIsWaila == bIsWaila) return aId.compareTo(bId);
return aIsWaila ? +1 : -1;
if (aIsWaila == bIsWaila) return aId.toString().compareTo(bId.toString());
return aIsWaila ? -1 : +1;
}).toList();

for (var plugin : sorted) {
Expand Down

0 comments on commit a01b945

Please sign in to comment.