Skip to content

Commit 071ee35

Browse files
committed
fix: ktlint formatting
1 parent f0be962 commit 071ee35

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

feature-retrofit/src/main/java/com/advice/retrofit/datasource/RetrofitMapsDataSource.kt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ class RetrofitMapsDataSource(
5555
private val sharingScope: CoroutineScope = CoroutineScope(SupervisorJob() + Dispatchers.IO),
5656
) : MapsDataSource,
5757
Closeable {
58-
5958
private val mapsFlow: Flow<FlowResult<Maps>> =
6059
userSession
6160
.getConferenceFlow()
@@ -76,9 +75,7 @@ class RetrofitMapsDataSource(
7675
replay = 1,
7776
)
7877

79-
private suspend fun FlowCollector<FlowResult<Maps>>.emitAllMapsForConference(
80-
conference: Conference,
81-
) {
78+
private suspend fun FlowCollector<FlowResult<Maps>>.emitAllMapsForConference(conference: Conference) {
8279
val mark = TimeSource.Monotonic.markNow()
8380
Timber.d(
8481
"Maps: conference=%s (%s) mapCount=%d",
@@ -112,8 +109,7 @@ class RetrofitMapsDataSource(
112109
}
113110
}
114111

115-
fun snapshot(): List<MapFile> =
116-
entries.mapNotNull { entry -> completed[entry.key] }
112+
fun snapshot(): List<MapFile> = entries.mapNotNull { entry -> completed[entry.key] }
117113

118114
if (toDownload.isEmpty()) {
119115
Timber.d(

0 commit comments

Comments
 (0)