From 47c8c9b2671c3ee82d435a55fb472f5a0738fb1e Mon Sep 17 00:00:00 2001 From: Seunggu Kang Date: Wed, 27 Mar 2024 03:32:50 +0900 Subject: [PATCH] chore: apply ktlintFormat --- .../feature/intermediator/InterHomeViewModel.kt | 8 ++------ .../feature/intermediator/InterManagementViewModel.kt | 1 - .../intermediator/screen/IntermediatorHomeScreen.kt | 3 +-- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/feature/intermediator/src/main/java/com/kusitms/connectdog/feature/intermediator/InterHomeViewModel.kt b/feature/intermediator/src/main/java/com/kusitms/connectdog/feature/intermediator/InterHomeViewModel.kt index ebe10aa75..41793bc6c 100644 --- a/feature/intermediator/src/main/java/com/kusitms/connectdog/feature/intermediator/InterHomeViewModel.kt +++ b/feature/intermediator/src/main/java/com/kusitms/connectdog/feature/intermediator/InterHomeViewModel.kt @@ -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("") val profileImage: StateFlow get() = _profileImage @@ -62,4 +58,4 @@ class InterHomeViewModel @Inject constructor( } } } -} \ No newline at end of file +} diff --git a/feature/intermediator/src/main/java/com/kusitms/connectdog/feature/intermediator/InterManagementViewModel.kt b/feature/intermediator/src/main/java/com/kusitms/connectdog/feature/intermediator/InterManagementViewModel.kt index 8abeb8991..d585e38fa 100644 --- a/feature/intermediator/src/main/java/com/kusitms/connectdog/feature/intermediator/InterManagementViewModel.kt +++ b/feature/intermediator/src/main/java/com/kusitms/connectdog/feature/intermediator/InterManagementViewModel.kt @@ -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 diff --git a/feature/intermediator/src/main/java/com/kusitms/connectdog/feature/intermediator/screen/IntermediatorHomeScreen.kt b/feature/intermediator/src/main/java/com/kusitms/connectdog/feature/intermediator/screen/IntermediatorHomeScreen.kt index 2054fb417..9d9090c6d 100644 --- a/feature/intermediator/src/main/java/com/kusitms/connectdog/feature/intermediator/screen/IntermediatorHomeScreen.kt +++ b/feature/intermediator/src/main/java/com/kusitms/connectdog/feature/intermediator/screen/IntermediatorHomeScreen.kt @@ -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 @@ -137,7 +136,7 @@ private fun Content( @SuppressLint("StateFlowValueCalledInComposition") @Composable private fun ProfileCard( - viewModel: InterHomeViewModel, + viewModel: InterHomeViewModel ) { Box( modifier = Modifier