Fixed bug with wrong medal icon

This commit is contained in:
2025-07-16 14:27:38 +02:00
parent b1a72630b1
commit cc6a7fee25
2 changed files with 5 additions and 3 deletions

View File

@@ -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))
])) ]))

View File

@@ -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