Skip to content

Commit

Permalink
chore: apply ktlintFormat
Browse files Browse the repository at this point in the history
  • Loading branch information
kang9366 committed Mar 26, 2024
1 parent cebfaa8 commit 47c8c9b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
package com.kusitms.connectdog.feature.intermediator

import android.util.Log
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.kusitms.connectdog.core.data.api.model.intermediator.IntermediatorProfileInfoResponseItem
import com.kusitms.connectdog.core.data.repository.InterManagementRepository
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow
import kotlinx.coroutines.launch
import java.lang.Thread.State
import javax.inject.Inject

@HiltViewModel
class InterHomeViewModel @Inject constructor(
private val managementRepository: InterManagementRepository
): ViewModel() {
) : ViewModel() {
private val _profileImage = MutableStateFlow<String>("")
val profileImage: StateFlow<String>
get() = _profileImage
Expand Down Expand Up @@ -62,4 +58,4 @@ class InterHomeViewModel @Inject constructor(
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.kusitms.connectdog.core.data.api.model.intermediator.IntermediatorProfileInfoResponseItem
import com.kusitms.connectdog.core.data.repository.InterManagementRepository
import com.kusitms.connectdog.core.model.DataUiState
import com.kusitms.connectdog.core.model.InterApplication
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import androidx.compose.foundation.layout.fillMaxHeight
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.heightIn
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.layout.width
Expand Down Expand Up @@ -137,7 +136,7 @@ private fun Content(
@SuppressLint("StateFlowValueCalledInComposition")
@Composable
private fun ProfileCard(
viewModel: InterHomeViewModel,
viewModel: InterHomeViewModel
) {
Box(
modifier = Modifier
Expand Down

0 comments on commit 47c8c9b

Please sign in to comment.