UI fixes and league

This commit is contained in:
Jan Pleterski
2026-11-28 12:22:02 +01:00
parent 2fc741a9f6
commit 258303deb8
118 changed files with 1439 additions and 537 deletions
+9 -11
View File
@@ -163,19 +163,17 @@ class ResultShareCard extends StatelessWidget {
),
),
const SizedBox(height: 10),
Row(
TileRow(
gap: data.tiles.length > 6 ? 3 : 6,
children: [
for (int i = 0; i < data.tiles.length; i++) ...[
if (i > 0) const SizedBox(width: 6),
Expanded(
child: ScoreTile(
top: data.tiles[i].$1,
value: data.tiles[i].$2,
filled: data.tiles[i].$3,
height: 60,
),
for (final (top, value, filled) in data.tiles)
ScoreTile(
top: top,
value: value,
filled: filled,
height: 60,
radius: data.tiles.length > 6 ? 9 : 14,
),
],
],
),
],