fix: removed unnecessary method
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 48s
Pull Request Pipeline / lint (pull_request) Successful in 49s

This commit is contained in:
2026-05-10 18:51:59 +02:00
parent 50bf111f03
commit e503db1c1b
2 changed files with 2 additions and 15 deletions

View File

@@ -444,7 +444,7 @@ class _MatchResultViewState extends State<MatchResultView> {
/// Handles saving the (multiple) winners to the database.
Future<bool> _handleWinners() async {
if (_selectedWinners.isEmpty) {
return await db.scoreEntryDao.removeWinners(matchId: widget.match.id);
return await db.scoreEntryDao.removeWinner(matchId: widget.match.id);
} else {
return await db.scoreEntryDao.setWinners(
matchId: widget.match.id,