fix typo
This commit is contained in:
parent
dec3b1ca2f
commit
f717d7a0b2
|
@ -57,7 +57,7 @@ class WizardActivity : ViewSelectorActivity() {
|
||||||
val view = viewAdapter.root
|
val view = viewAdapter.root
|
||||||
val percentage = sp.getInt(getString(R.string.key_bolus_wizard_percentage), 100).toDouble()
|
val percentage = sp.getInt(getString(R.string.key_bolus_wizard_percentage), 100).toDouble()
|
||||||
val initValue = SafeParse.stringToDouble(editPercentage?.editText?.text.toString(), percentage)
|
val initValue = SafeParse.stringToDouble(editPercentage?.editText?.text.toString(), percentage)
|
||||||
editPercentage = PlusMinusEditText(viewAdapter, initValue, 10.0, 2000.0, 5.0, DecimalFormat("0"), false, getString(R.string.action_percentage))
|
editPercentage = PlusMinusEditText(viewAdapter, initValue, 10.0, 200.0, 5.0, DecimalFormat("0"), false, getString(R.string.action_percentage))
|
||||||
container.addView(view)
|
container.addView(view)
|
||||||
view
|
view
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue