Remove obsolete null check.

This commit is contained in:
2023-07-18 20:16:46 +02:00
parent 410c948882
commit 7c940eacb0

View File

@@ -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()
}
}
}