Skip to content

Commit

Permalink
[IDLE-000] 개발, 운영 서버 호스트 변경 및 케어밋 2차전 시작...
Browse files Browse the repository at this point in the history
  • Loading branch information
tgyuuAn committed Jan 20, 2025
1 parent d3dc5c9 commit 81ac91a
Show file tree
Hide file tree
Showing 8 changed files with 392 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,8 @@ fun CareTextField(
throttleTime: Long = 0L,
onDone: () -> Unit = {},
textStyle: TextStyle = CareTheme.typography.body3.copy(
color = if (readOnly) {
CareTheme.colors.gray300
} else {
CareTheme.colors.black
},
color = if (readOnly) { CareTheme.colors.gray300 }
else { CareTheme.colors.black },
),
leftComponent: @Composable () -> Unit = {},
) {
Expand Down Expand Up @@ -110,18 +107,18 @@ fun CareTextField(
enabled = enabled,
interactionSource = interactionSource,
visualTransformation = visualTransformation,
keyboardOptions = KeyboardOptions(
keyboardType = keyboardType,
imeAction = ImeAction.Done
),
keyboardActions = KeyboardActions(onDone = {
val currentTime = System.currentTimeMillis()
if (currentTime - lastDoneTime >= throttleTime) {
keyboardController?.hide()
onDone()
lastDoneTime = currentTime
}
}),
keyboardOptions = KeyboardOptions(
keyboardType = keyboardType,
imeAction = ImeAction.Done
),
keyboardActions = KeyboardActions(onDone = {
val currentTime = System.currentTimeMillis()
if (currentTime - lastDoneTime >= throttleTime) {
keyboardController?.hide()
onDone()
lastDoneTime = currentTime
}
}),
modifier = Modifier
.weight(1f)
.padding(top = 10.dp, bottom = 10.dp, end = 8.dp),
Expand Down
3 changes: 3 additions & 0 deletions core/network/src/main/java/com/idle/network/.idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions core/network/src/main/java/com/idle/network/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions core/network/src/main/java/com/idle/network/.idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions core/network/src/main/java/com/idle/network/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import com.idle.domain.usecase.profile.GetMyCenterProfileUseCase
import com.idle.navigation.DeepLinkDestination.CenterHome
import com.idle.navigation.DeepLinkDestination.CenterRegister
import com.idle.navigation.NavigationEvent
import com.idle.navigation.NavigationHelper
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.coroutines.delay
import kotlinx.coroutines.flow.MutableStateFlow
Expand All @@ -33,7 +34,7 @@ class CenterPendingViewModel @Inject constructor(
private val getMyCenterProfileUseCase: GetMyCenterProfileUseCase,
private val errorHelper: ErrorHelper,
private val eventHelper: EventHelper,
private val navigationHelper: com.idle.navigation.NavigationHelper,
private val navigationHelper: NavigationHelper,
) : ViewModel() {
private val _status = MutableStateFlow(CenterManagerAccountStatus.UNKNOWN)
val status = _status.asStateFlow()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import com.idle.domain.usecase.notification.GetUnreadNotificationCountUseCase
import com.idle.domain.usecase.profile.GetLocalMyWorkerProfileUseCase
import com.idle.navigation.DeepLinkDestination
import com.idle.navigation.NavigationEvent
import com.idle.navigation.NavigationHelper
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.asStateFlow
Expand All @@ -43,7 +44,7 @@ class WorkerHomeViewModel @Inject constructor(
private val jobPostingRepository: JobPostingRepository,
private val errorHelper: ErrorHelper,
private val eventHelper: EventHelper,
val navigationHelper: com.idle.navigation.NavigationHelper,
val navigationHelper: NavigationHelper,
) : ViewModel() {
private val _profile = MutableStateFlow<WorkerProfile?>(null)
val profile = _profile.asStateFlow()
Expand Down

0 comments on commit 81ac91a

Please sign in to comment.