Skip to content

Commit

Permalink
library version update, 필요 없는 코드 제거 (#69)
Browse files Browse the repository at this point in the history
* library version update

* chore: 필요없는 코드, TODO 삭제, 접근 제한자 변경
  • Loading branch information
easyhooon committed Aug 17, 2023
1 parent 928bb96 commit b4f7da2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class HomeViewModel @Inject constructor(
) : ViewModel() {

private val _uiState = MutableStateFlow(HomeUiState())
val uiState: StateFlow<HomeUiState> = this._uiState.asStateFlow()
val uiState: StateFlow<HomeUiState> = _uiState.asStateFlow()

private val _eventFlow = MutableSharedFlow<HomeUiEvent>()
val eventFlow: SharedFlow<HomeUiEvent> = _eventFlow.asSharedFlow()
Expand Down Expand Up @@ -274,7 +274,6 @@ class HomeViewModel @Inject constructor(
setRecentBandalartKey(bandalart.key)
// 새로운 반다라트를 로컬에 저장
upsertBandalartKey(bandalart.key)
// TODO 표가 뒤집히는 애니메이션 구현
_eventFlow.emit(HomeUiEvent.ShowSnackbar(UiText.StringResource(R.string.create_bandalart)))
}
result.isSuccess && result.getOrNull() == null -> {
Expand Down Expand Up @@ -479,7 +478,7 @@ class HomeViewModel @Inject constructor(
}.await()
}

suspend fun deleteBandalartKey(bandalartKey: String) {
private suspend fun deleteBandalartKey(bandalartKey: String) {
viewModelScope.launch {
deleteBandalartKeyUseCase(bandalartKey)
}
Expand Down
12 changes: 6 additions & 6 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ kotlin-detekt = "1.23.0"
kotlin-ktlint-gradle = "11.5.0"
kotlin-ktlint-source = "0.48.2"

kotlinx-coroutines = "1.7.2"
kotlinx-coroutines = "1.7.3"
kotlinx-datetime = "0.4.0"
kotlinx-serialization = "1.5.1"

android-hilt = "2.46.1"
android-hilt = "2.47"

androidx-appcompat = "1.6.1"
androidx-core = "1.10.1"
Expand All @@ -26,17 +26,17 @@ androidx-splash = "1.0.1"
androidx-startup = "1.1.1"
androidx-activity-compose = "1.7.2"
androidx-compose-compiler = "1.4.8"
androidx-compose-bom = "2023.06.01"
androidx-compose-material3 = "1.2.0-alpha04"
androidx-compose-bom = "2023.08.00"
androidx-compose-material3 = "1.2.0-alpha05"
androidx-compose-runtime-tracing = "1.0.0-alpha03"
androidx-compose-constraintlayout = "1.0.1"
androidx-compose-navigation = "2.6.0"
androidx-compose-navigation = "2.7.0"
androidx-hilt-navigation-compose = "1.0.0"

coil = "2.4.0"
desugar-jdk = "2.0.3"
javax-inject = "1"
ktor-client = "2.3.2"
ktor-client = "2.3.3"
lottie-compose = "5.2.0"
timber = "5.0.1"
junit = "4.13.2"
Expand Down

0 comments on commit b4f7da2

Please sign in to comment.