Skip to content

Commit

Permalink
Update home leaderboard
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunakw committed Oct 15, 2023
1 parent 9983863 commit 6df42a0
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions app/watt_wizard/lib/widgets/homes_leaderboard.dart
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ class _HomeItem extends StatelessWidget {
borderRadius: BorderRadius.circular(15),
child: Image.network(
home.pfp,
width: 100,
height: 100,
width: 50,
height: 50,
fit: BoxFit.cover,
),
);
Expand Down Expand Up @@ -154,15 +154,11 @@ class _HomeItem extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Padding(
padding: const EdgeInsets.only(bottom: 4, top: 4, left: 8, right: 8),
child: Row(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
pfp,
Flexible(child: details),
updateHomeButton(context, home),
],
padding: const EdgeInsets.symmetric(vertical: 8),
child: ListTile(
leading: pfp,
title: Text(home.name),
trailing: updateHomeButton(context, home)
),
);
}
Expand Down

0 comments on commit 6df42a0

Please sign in to comment.