Skip to content

Commit

Permalink
Closes #92
Browse files Browse the repository at this point in the history
Merge branch 'fix/additive-hints' into develop

* fix/additive-hints:
  Adds delivery unit to additive dialog
  • Loading branch information
7LPdWcaW authored and 7LPdWcaW committed Jun 29, 2019
2 parents acb9016 + 42a6e3c commit fdd9b7d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@ public AddAdditiveDialogFragment()
Views.inject(this, view);

final Unit selectedUnit = Unit.getSelectedMeasurementUnit(getActivity());
final Unit deliveryUnit = Unit.getSelectedDeliveryUnit(getActivity());

amount.setHint(selectedUnit.getLabel());
amount.setHint(selectedUnit.getLabel() + "/" + deliveryUnit.getLabel());

if (additive != null)
{
Expand Down

0 comments on commit fdd9b7d

Please sign in to comment.