Skip to content

Commit

Permalink
Fix hit tile alt form size
Browse files Browse the repository at this point in the history
  • Loading branch information
alkaitagi committed Nov 1, 2021
1 parent 2289a9b commit 62e78d4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/dictionary/hit_tile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,15 @@ class HitTile extends StatelessWidget {
style: theme.subtitle1?.copyWith(
fontWeight: FontWeight.w500,
),
maxLines: 1,
),
if (hit.form != null && hit.form != hit.headword) ...[
const SizedBox(width: 4),
Text(
capitalize(hit.form!),
style: TextStyle(
style: theme.subtitle1?.copyWith(
fontWeight: FontWeight.w500,
color: theme.caption?.color,
),
maxLines: 1,
),
],
const Spacer(),
Expand Down

0 comments on commit 62e78d4

Please sign in to comment.