Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 505232be authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Gerrit Code Review
Browse files

Merge "Fix of Settings application sort crash"

parents b1ea6805 dffcc39b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -93,7 +93,7 @@ class BatterySipper implements Comparable<BatterySipper> {

    public int compareTo(BatterySipper other) {
        // Return the flipped value because we want the items in descending order
        return (int) (other.getSortValue() - getSortValue());
        return Double.compare(other.getSortValue(), getSortValue());
    }

    void getQuickNameIconForUid(Uid uidObj) {