Remove BG decimal if mg/dl unit in Calculator
This commit is contained in:
parent
cbdee2b81b
commit
c0ebb8f206
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ class WizardDialog : DaggerDialogFragment() {
|
|||
|
||||
if (profileFunction.getUnits() == Constants.MGDL)
|
||||
treatments_wizard_bg_input.setParams(savedInstanceState?.getDouble("treatments_wizard_bg_input")
|
||||
?: 0.0, 0.0, 500.0, 1.0, DecimalFormat("0.0"), false, ok, textWatcher)
|
||||
?: 0.0, 0.0, 500.0, 1.0, DecimalFormat("0"), false, ok, textWatcher)
|
||||
else
|
||||
treatments_wizard_bg_input.setParams(savedInstanceState?.getDouble("treatments_wizard_bg_input")
|
||||
?: 0.0, 0.0, 30.0, 0.1, DecimalFormat("0.0"), false, ok, textWatcher)
|
||||
|
|
Loading…
Reference in a new issue