MainActivity: increase bottle volume to 340ml

This is the maximum amount found in sold bottles.
This commit is contained in:
2026-10-12 22:20:15 +02:00
committed by penguin86
parent 1613aeb3f4
commit d776b479fa
@@ -212,8 +212,8 @@ class MainActivity : AppCompatActivity() {
val numberPicker = dialogView.findViewById<NumberPicker>(R.id.dialog_number_picker)
numberPicker.minValue = 1 // "10"
numberPicker.maxValue = 25 // "250
numberPicker.displayedValues = ((10..250 step 10).map { it.toString() }.toTypedArray())
numberPicker.maxValue = 34 // "340
numberPicker.displayedValues = ((10..340 step 10).map { it.toString() }.toTypedArray())
numberPicker.wrapSelectorWheel = false
numberPicker.value = event.quantity / 10