chore: remove padding from last entry in activity list (#5146)
This commit is contained in:
parent
55a3acdabd
commit
ec2e2f3dbd
1 changed files with 3 additions and 1 deletions
|
|
@ -366,7 +366,9 @@ class TopicActivitiesListState extends State<TopicActivitiesList> {
|
|||
|
||||
final activity = activityEntry.value;
|
||||
return Padding(
|
||||
padding: const EdgeInsets.only(right: 24.0),
|
||||
padding: index != (activityEntries.length - 1)
|
||||
? const EdgeInsets.only(right: 24.0)
|
||||
: EdgeInsets.zero,
|
||||
child: MouseRegion(
|
||||
cursor: SystemMouseCursors.click,
|
||||
child: GestureDetector(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue