Skip to content

Commit c93cc1f

Browse files
committed
Fix conflict
1 parent dc3d6bc commit c93cc1f

File tree

1 file changed

+1
-3
lines changed
  • Fruitties/shared/src/commonMain/kotlin/com/example/fruitties/viewmodel

1 file changed

+1
-3
lines changed

Fruitties/shared/src/commonMain/kotlin/com/example/fruitties/viewmodel/CartViewModel.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import androidx.lifecycle.viewModelScope
2222
import co.touchlab.kermit.Logger
2323
import com.example.fruitties.DataRepository
2424
import com.example.fruitties.model.CartItemDetails
25+
import io.ktor.util.logging.Logger
2526
import kotlinx.coroutines.flow.SharingStarted
2627
import kotlinx.coroutines.flow.StateFlow
2728
import kotlinx.coroutines.flow.map
@@ -31,7 +32,6 @@ class CartViewModel(
3132
private val repository: DataRepository,
3233
) : ViewModel() {
3334

34-
<<<<<<< kermit
3535
init {
3636
Logger.i { "CartViewModel created" }
3737
}
@@ -41,8 +41,6 @@ class CartViewModel(
4141
Logger.i { "CartViewModel cleared" }
4242
}
4343

44-
=======
45-
>>>>>>> mlykotom/ios-viewmodel-scoping
4644
val cartUiState: StateFlow<CartUiState> =
4745
repository.cartDetails
4846
.map { details ->

0 commit comments

Comments
 (0)