diff --git a/wrestling_scoreboard_client/lib/data/bout_result.dart b/wrestling_scoreboard_client/lib/data/bout_result.dart index 27cb35ae..50ed537e 100644 --- a/wrestling_scoreboard_client/lib/data/bout_result.dart +++ b/wrestling_scoreboard_client/lib/data/bout_result.dart @@ -29,7 +29,7 @@ String getDescriptionFromBoutResult(BoutResult? result, BuildContext context) { return loc.boutResultDsq; case BoutResult.dsq2: return loc.boutResultDsq2; - default: + case null: return ''; } } @@ -57,7 +57,7 @@ String getAbbreviationFromBoutResult(BoutResult? result, BuildContext context) { return loc.boutResultDsqAbbr; case BoutResult.dsq2: return loc.boutResultDsq2Abbr; - default: + case null: return ''; } }