forked from eatvio/eatvio_app
feat(order info): added order info screen
This commit is contained in:
@@ -3,11 +3,11 @@ import 'package:eatvio_app/generated/l10n.dart';
|
||||
|
||||
String getLocalizedMeasurementUnits(S s, Portion portion) {
|
||||
switch (portion) {
|
||||
case Portion.GRAMS:
|
||||
case Portion.grams:
|
||||
return s.gr;
|
||||
case Portion.MILLILITERS:
|
||||
case Portion.milliliters:
|
||||
return s.milliliter;
|
||||
case Portion.PCS:
|
||||
case Portion.pcs:
|
||||
return s.pcs;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user