Browse Source

fix Bug #7795

master
daivph 5 years ago
parent
commit
63a7176273
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/presentation/screens/actions/controller/ChangeUnit.dart

+ 1
- 1
lib/presentation/screens/actions/controller/ChangeUnit.dart View File

if (unitName == "kg" || unitName == "g") { if (unitName == "kg" || unitName == "g") {
currentUnits = ["kg", "g"]; currentUnits = ["kg", "g"];
selectedUnit = unitName; selectedUnit = unitName;
} else if (unitName == "l" || unitName == "m") {
} else if (unitName == "l" || unitName == "ml") {
currentUnits = ["l", "ml"]; currentUnits = ["l", "ml"];
selectedUnit = unitName; selectedUnit = unitName;
} else if (unitName == "m" || unitName == "cm" || unitName == "mm") { } else if (unitName == "m" || unitName == "cm" || unitName == "mm") {

Loading…
Cancel
Save