diff --git a/khelo/lib/ui/flow/tournament/detail/tournament_detail_view_model.dart b/khelo/lib/ui/flow/tournament/detail/tournament_detail_view_model.dart index c6287892..abf15851 100644 --- a/khelo/lib/ui/flow/tournament/detail/tournament_detail_view_model.dart +++ b/khelo/lib/ui/flow/tournament/detail/tournament_detail_view_model.dart @@ -54,7 +54,7 @@ class TournamentDetailStateViewNotifier _tournamentService.streamTeamStats(_tournamentId!), _tournamentService.streamPlayerKeyStats(_tournamentId!)); - tournamentData.listen((data) async { + _tournamentSubscription = tournamentData.listen((data) async { final tournament = data.$1; final teamStats = data.$2; final keyStats = data.$3.getTopKeyStats();