Skip to content

Commit

Permalink
refactor: Replace default cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustl22 committed Dec 7, 2023
1 parent 5f6112f commit 62bc9b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wrestling_scoreboard_client/lib/data/bout_result.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ String getDescriptionFromBoutResult(BoutResult? result, BuildContext context) {
return loc.boutResultDsq;
case BoutResult.dsq2:
return loc.boutResultDsq2;
default:
case null:
return '';
}
}
Expand Down Expand Up @@ -57,7 +57,7 @@ String getAbbreviationFromBoutResult(BoutResult? result, BuildContext context) {
return loc.boutResultDsqAbbr;
case BoutResult.dsq2:
return loc.boutResultDsq2Abbr;
default:
case null:
return '';
}
}

0 comments on commit 62bc9b2

Please sign in to comment.