Implemented ruleset in match view
Some checks failed
Pull Request Pipeline / test (pull_request) Successful in 43s
Pull Request Pipeline / lint (pull_request) Failing after 46s

This commit is contained in:
2026-04-14 23:26:26 +02:00
parent df1bc4bf32
commit ddf32797aa
4 changed files with 77 additions and 35 deletions

View File

@@ -79,6 +79,24 @@ class _MatchTileState extends State<MatchTile> {
],
),
const SizedBox(height: 4),
Container(
decoration: BoxDecoration(
color: CustomTheme.primaryColor,
borderRadius: BorderRadius.circular(8),
),
padding: const EdgeInsets.symmetric(vertical: 4, horizontal: 8),
child: Text(
translateRulesetToString(match.game.ruleset, context),
style: const TextStyle(
fontSize: 12,
color: Colors.white,
fontWeight: FontWeight.bold,
),
),
),
const SizedBox(height: 8),
if (group != null) ...[