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:
parent
ab5e9b6e9b
commit
1e82e8bd53
@ -159,7 +159,7 @@ class DecodeFragment : Fragment() {
|
|||||||
val ctx = tableLayout.context
|
val ctx = tableLayout.context
|
||||||
val spaceBetween = (ctx.resources.displayMetrics.density * 16f).toInt()
|
val spaceBetween = (ctx.resources.displayMetrics.density * 16f).toInt()
|
||||||
var hasMeta = false
|
var hasMeta = false
|
||||||
hashMapOf(
|
sortedMapOf(
|
||||||
R.string.error_correction_level to scan.errorCorrectionLevel,
|
R.string.error_correction_level to scan.errorCorrectionLevel,
|
||||||
R.string.issue_number to scan.issueNumber,
|
R.string.issue_number to scan.issueNumber,
|
||||||
R.string.orientation to scan.orientation,
|
R.string.orientation to scan.orientation,
|
||||||
|
Loading…
Reference in New Issue
Block a user