Skip to content

Commit

Permalink
fix price visibility bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed El Mouctar HAIDARA committed Jan 13, 2016
1 parent d6365ac commit 108a2f9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@ private void displayRestaurant() {
PointDeRestauration.TypePointDeRestauration.SUPERMARCHE)) {
restaurantPrix.setVisibility(View.GONE);
} else {
restaurantPrix.setVisibility(View.VISIBLE);
if (currentUser.getTypeUtilisateur() == Utilisateur.TypeUtilisateur.PROFESSEUR) {
restaurantPrix.setText(String.format(getString(R.string.prix_restaurant),
currentPointDeRestauration.getPrix() + PointDeRestauration.DIFFERENCE_PRIX));
Expand Down

0 comments on commit 108a2f9

Please sign in to comment.