Skip to content

Commit 9248a50

Browse files
committed
chore: iterate qualities low-to-high when scanning static images
Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
1 parent 2a42418 commit 9248a50

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/com/kik/kikx/kikcodes/KikCodeScanner.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ sealed class ScanQuality(val headerValue: Int) {
1111
data object Best : ScanQuality(10)
1212

1313
companion object {
14-
private val values = listOf(Best, High, Medium, Low)
14+
private val values = listOf(Low, Medium, High, Best)
1515

1616
fun iterator(): Iterator<ScanQuality> {
1717
return values.iterator()

0 commit comments

Comments
 (0)