Skip to content

Commit 34658b6

Browse files
committed
Fix Priority capitalization in sorting comparator
1 parent 4bd89ad commit 34658b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/DNSSwitcher/DNS/NetworkInterface.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ enum NetworkInterface {
99

1010
// Sort: Wi-Fi and Ethernet first, then others
1111
return connected.sorted { a, b in
12-
Priority(a) < priority(b)
12+
Priority(a) < Priority(b)
1313
}
1414
}
1515

0 commit comments

Comments
 (0)