Fixed bug with wrong medal icon
This commit is contained in:
@@ -197,11 +197,13 @@ class _RoundViewState extends State<RoundView> {
|
|||||||
overflow: TextOverflow.ellipsis,
|
overflow: TextOverflow.ellipsis,
|
||||||
),
|
),
|
||||||
Visibility(
|
Visibility(
|
||||||
visible: index == 0,
|
visible:
|
||||||
|
index == 0 && widget.roundNumber != 1,
|
||||||
child: const SizedBox(width: 10),
|
child: const SizedBox(width: 10),
|
||||||
),
|
),
|
||||||
Visibility(
|
Visibility(
|
||||||
visible: index == 0,
|
visible:
|
||||||
|
index == 0 && widget.roundNumber != 1,
|
||||||
child: const Icon(FontAwesomeIcons.medal,
|
child: const Icon(FontAwesomeIcons.medal,
|
||||||
size: 15))
|
size: 15))
|
||||||
]))
|
]))
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ name: cabo_counter
|
|||||||
description: "Mobile app for the card game Cabo"
|
description: "Mobile app for the card game Cabo"
|
||||||
publish_to: 'none'
|
publish_to: 'none'
|
||||||
|
|
||||||
version: 0.4.7+506
|
version: 0.4.7+507
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ^3.5.4
|
sdk: ^3.5.4
|
||||||
|
|||||||
Reference in New Issue
Block a user