1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-26 06:49:22 +00:00

Improve show more comments button

This commit is contained in:
Pierre HUBERT 2020-05-16 09:17:49 +02:00
parent fbe22c5031
commit bc3972082c

View File

@ -380,11 +380,14 @@ class _PostTileState extends State<PostTile> {
);
}
Widget _buildShowMoreCommentsButton() => InkWell(
onTap: () => setState(() => _maxNumberOfCommentToShow += 10),
child: Padding(
padding: const EdgeInsets.all(8.0),
child: Text(tr("Show more comments")),
Widget _buildShowMoreCommentsButton() => Material(
color: Colors.transparent,
child: InkWell(
onTap: () => setState(() => _maxNumberOfCommentToShow += 10),
child: Padding(
padding: const EdgeInsets.all(8.0),
child: Text(tr("Show more comments").toUpperCase()),
),
),
);