mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 21:09:21 +00:00
Improve show more comments button
This commit is contained in:
parent
fbe22c5031
commit
bc3972082c
@ -380,11 +380,14 @@ class _PostTileState extends State<PostTile> {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
Widget _buildShowMoreCommentsButton() => InkWell(
|
Widget _buildShowMoreCommentsButton() => Material(
|
||||||
|
color: Colors.transparent,
|
||||||
|
child: InkWell(
|
||||||
onTap: () => setState(() => _maxNumberOfCommentToShow += 10),
|
onTap: () => setState(() => _maxNumberOfCommentToShow += 10),
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.all(8.0),
|
padding: const EdgeInsets.all(8.0),
|
||||||
child: Text(tr("Show more comments")),
|
child: Text(tr("Show more comments").toUpperCase()),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user