From 1f16f428305a6935e56d99b1bb9841b04a9699ff Mon Sep 17 00:00:00 2001 From: theophiluskibet Date: Wed, 15 Jan 2025 17:43:23 +0300 Subject: [PATCH] lint : fixes lint issues --- .../tabs/screens/leaderboard/LeaderboardListScreenModel.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules-features/tabs/src/main/java/com/bizilabs/streeek/feature/tabs/screens/leaderboard/LeaderboardListScreenModel.kt b/modules-features/tabs/src/main/java/com/bizilabs/streeek/feature/tabs/screens/leaderboard/LeaderboardListScreenModel.kt index a26070ba..77d65b3e 100644 --- a/modules-features/tabs/src/main/java/com/bizilabs/streeek/feature/tabs/screens/leaderboard/LeaderboardListScreenModel.kt +++ b/modules-features/tabs/src/main/java/com/bizilabs/streeek/feature/tabs/screens/leaderboard/LeaderboardListScreenModel.kt @@ -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 @@ -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 }) } } } }