Skip to content

Commit

Permalink
lint : fixes lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kibettheophilus committed Jan 15, 2025
1 parent 42f11a8 commit 1f16f42
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package com.bizilabs.streeek.feature.tabs.screens.leaderboard
import android.content.Context
import cafe.adriel.voyager.core.model.StateScreenModel
import cafe.adriel.voyager.core.model.screenModelScope
import com.bizilabs.streeek.lib.domain.models.Leaderboard
import com.bizilabs.streeek.lib.domain.models.LeaderboardAccountDomain
import com.bizilabs.streeek.lib.domain.models.LeaderboardDomain
import com.bizilabs.streeek.lib.domain.repositories.LeaderboardRepository
Expand Down Expand Up @@ -78,7 +77,7 @@ class LeaderboardListScreenModel(
private fun observeLeaderboards() {
screenModelScope.launch {
repository.leaderboards.collectLatest { map ->
mutableState.update { it.copy(leaderboards = map.map {(_, value) -> value }) }
mutableState.update { it.copy(leaderboards = map.map { (_, value) -> value }) }
}
}
}
Expand Down

0 comments on commit 1f16f42

Please sign in to comment.