Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

Commit

Permalink
Remove beer title when no description is available into rating
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitletondor committed Oct 13, 2018
1 parent fc2880c commit 88ef682
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/page/checkindisplay/checkindisplaypage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ class _CheckInDisplayPageState extends ViewState<CheckInDisplayPage, CheckInDisp
const Padding(padding: EdgeInsets.only(top: 25.0)),
_buildRatingWidget(ratingWidget),
Offstage(
offstage: checkIn.beer.description == null,
offstage: checkIn.beer.description == null || checkIn.beer.description.isEmpty,
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Expand Down

0 comments on commit 88ef682

Please sign in to comment.