File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Fruitties/shared/src/commonMain/kotlin/com/example/fruitties/viewmodel Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ import androidx.lifecycle.viewModelScope
22
22
import co.touchlab.kermit.Logger
23
23
import com.example.fruitties.DataRepository
24
24
import com.example.fruitties.model.CartItemDetails
25
+ import io.ktor.util.logging.Logger
25
26
import kotlinx.coroutines.flow.SharingStarted
26
27
import kotlinx.coroutines.flow.StateFlow
27
28
import kotlinx.coroutines.flow.map
@@ -31,7 +32,6 @@ class CartViewModel(
31
32
private val repository : DataRepository ,
32
33
) : ViewModel() {
33
34
34
- <<<<<<< kermit
35
35
init {
36
36
Logger .i { " CartViewModel created" }
37
37
}
@@ -41,8 +41,6 @@ class CartViewModel(
41
41
Logger .i { " CartViewModel cleared" }
42
42
}
43
43
44
- ====== =
45
- >>>>>>> mlykotom/ ios- viewmodel- scoping
46
44
val cartUiState: StateFlow <CartUiState > =
47
45
repository.cartDetails
48
46
.map { details ->
You can’t perform that action at this time.
0 commit comments