Skip to content

Commit

Permalink
Remove unused parameter in lambda
Browse files Browse the repository at this point in the history
  • Loading branch information
sufyanAbbasi committed Feb 29, 2024
1 parent a2d7af4 commit c9149e9
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ import com.google.android.ground.ui.util.FileUtil
import com.google.android.ground.util.ByteCount
import com.google.android.ground.util.deleteIfEmpty
import com.google.android.ground.util.rangeOf
import java.io.File
import javax.inject.Inject
import javax.inject.Singleton
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.combine
import kotlinx.coroutines.flow.first
import kotlinx.coroutines.flow.flow
import kotlinx.coroutines.flow.map
import timber.log.Timber
import java.io.File
import javax.inject.Inject
import javax.inject.Singleton

/**
* Corners of the viewport are scaled by this value when determining the name of downloaded areas.
Expand Down Expand Up @@ -108,7 +108,7 @@ constructor(
private suspend fun getLocalTileSourcePath(): String = File(fileUtil.getFilesDir(), "tiles").path

fun getOfflineTileSourcesFlow() =
surveyRepository.activeSurveyFlow.combine(getOfflineAreaBounds()) { survey, bounds ->
surveyRepository.activeSurveyFlow.combine(getOfflineAreaBounds()) { _, bounds ->
applyBounds(getDefaultTileSources(), bounds)
}

Expand Down

0 comments on commit c9149e9

Please sign in to comment.