diff --git a/app/src/main/java/me/zobrist/tichucounter/ui/counter/CounterViewModel.kt b/app/src/main/java/me/zobrist/tichucounter/ui/counter/CounterViewModel.kt index 3bce6df..83ce2e2 100644 --- a/app/src/main/java/me/zobrist/tichucounter/ui/counter/CounterViewModel.kt +++ b/app/src/main/java/me/zobrist/tichucounter/ui/counter/CounterViewModel.kt @@ -174,8 +174,6 @@ class CounterViewModel @Inject constructor( init { viewModelScope.launch { gameRepository.getActiveGameFlow().collect { - if (it != null) { - val score = it.getTotalPoints() roundScoreList = it.rounds @@ -186,8 +184,6 @@ class CounterViewModel @Inject constructor( teamNameB = it.game.nameB buildTeamNameSuggestions() - - } } }