File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
presentation/src/main/java/com/threegap/bitnagil/presentation Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ private suspend fun Context.checkForUpdateAvailability(): UpdateAvailableState =
107107 val isAllowed = appUpdateInfo.isUpdateTypeAllowed(AppUpdateType .IMMEDIATE ) ||
108108 appUpdateInfo.isUpdateTypeAllowed(AppUpdateType .FLEXIBLE )
109109
110- val state = if (isAvailable && isAllowed) UpdateAvailableState .NEED_UPDATE else UpdateAvailableState .Latest
110+ val state = if (isAvailable && isAllowed) UpdateAvailableState .NEED_UPDATE else UpdateAvailableState .LATEST
111111 continuation.resume(state)
112112 }
113113
Original file line number Diff line number Diff line change 11package com.threegap.bitnagil.presentation.common.playstore
22
33enum class UpdateAvailableState {
4- Latest , NEED_UPDATE , NONE
4+ LATEST , NEED_UPDATE , NONE
55}
Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ private fun SettingScreen(
141141 }
142142
143143 when (updateAvailableState) {
144- UpdateAvailableState .Latest -> Text (
144+ UpdateAvailableState .LATEST -> Text (
145145 text = " 최신" ,
146146 color = BitnagilTheme .colors.coolGray70,
147147 style = BitnagilTheme .typography.button2,
@@ -210,7 +210,7 @@ fun SettingScreenPreview() {
210210 loading = false ,
211211 logoutConfirmDialogVisible = false ,
212212 ),
213- updateAvailableState = UpdateAvailableState .Latest ,
213+ updateAvailableState = UpdateAvailableState .LATEST ,
214214 toggleServiceAlarm = {},
215215 togglePushAlarm = {},
216216 onClickUpdate = {},
You can’t perform that action at this time.
0 commit comments