UI fixes and league
This commit is contained in:
@@ -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,
|
||||
),
|
||||
],
|
||||
],
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user