Skip to content

Commit fee0361

Browse files
committed
refactor: remove unnecessary Timber logging from collectIn function
1 parent c69cc03 commit fee0361

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

core-ui/src/main/java/com/hoc/flowmvi/core_ui/CollectIn.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import kotlinx.coroutines.Job
99
import kotlinx.coroutines.flow.Flow
1010
import kotlinx.coroutines.flow.collect
1111
import kotlinx.coroutines.launch
12-
import timber.log.Timber
1312

1413
inline fun <T> Flow<T>.collectIn(
1514
owner: LifecycleOwner,
@@ -18,7 +17,6 @@ inline fun <T> Flow<T>.collectIn(
1817
): Job =
1918
owner.lifecycleScope.launch {
2019
owner.repeatOnLifecycle(state = minActiveState) {
21-
Timber.d("Start collecting $owner $minActiveState...")
2220
collect { action(it) }
2321
}
2422
}

0 commit comments

Comments
 (0)