fix: wrong tile hidden

This commit is contained in:
2026-05-10 18:22:56 +02:00
parent f98208b508
commit f5f97f676c

View File

@@ -213,12 +213,15 @@ class _CreateGameViewState extends State<CreateGameView> {
),
),
// Choose color tile
ChooseTile(title: loc.ruleset, trailing: getRulesetDropdown(loc)),
// Choose ruleset tile
if (!isEditMode())
ChooseTile(title: loc.color, trailing: getColorDropdown(loc)),
ChooseTile(
title: loc.ruleset,
trailing: getRulesetDropdown(loc),
),
// Choose color tile
ChooseTile(title: loc.color, trailing: getColorDropdown(loc)),
// Description input field
Container(