0
0
mirror of https://github.com/markusfisch/BinaryEye.git synced 2024-09-20 03:52:16 +02:00

Use a sorted map to enlist metadata items

A HashMap is unsorted of course what means the order of the
metadata items was random.
This commit is contained in:
Markus Fisch 2020-03-27 19:41:07 +01:00
parent ab5e9b6e9b
commit 1e82e8bd53

View File

@ -159,7 +159,7 @@ class DecodeFragment : Fragment() {
val ctx = tableLayout.context
val spaceBetween = (ctx.resources.displayMetrics.density * 16f).toInt()
var hasMeta = false
hashMapOf(
sortedMapOf(
R.string.error_correction_level to scan.errorCorrectionLevel,
R.string.issue_number to scan.issueNumber,
R.string.orientation to scan.orientation,