Skip to content

Commit

Permalink
[CHORE]#218 : reduce 구문 내 공백 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
jeongjaino committed Jan 31, 2025
1 parent 5b67dd7 commit 20ebe4e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/src/main/kotlin/com/bff/wespot/viewmodel/MainViewModel.kt
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class MainViewModel @Inject constructor(
when (result) {
VersionCompareResult.MAJOR_VERSION_UPDATE -> {
if (isVersionMatchCachedVersion(latestVersion).not()) {
reduce { state.copy(versionUpdateType = VersionUpdateType.NEW_FEATURE_ADDED)}
reduce { state.copy(versionUpdateType = VersionUpdateType.NEW_FEATURE_ADDED) }
postSideEffect(MainSideEffect.ShowVersionUpdateDialog)
}
}
Expand All @@ -130,7 +130,7 @@ class MainViewModel @Inject constructor(
.fetchFromRemoteConfig(RemoteConfigKey.VERSION_UPDATE_TYPE)
val versionUpdateType = VersionUpdateType.convertVersionUpdateType(versionUpdateTypeString)

reduce { state.copy(versionUpdateType = versionUpdateType)}
reduce { state.copy(versionUpdateType = versionUpdateType) }
postSideEffect(MainSideEffect.ShowVersionUpdateDialog)
}
}
Expand Down Expand Up @@ -198,7 +198,7 @@ class MainViewModel @Inject constructor(
postSideEffect(MainSideEffect.ShowFeatureOverviewDialog)
}
NotificationType.UPDATE_REQUIRED -> {
reduce { state.copy(versionUpdateType = VersionUpdateType.NEW_FEATURE_ADDED)}
reduce { state.copy(versionUpdateType = VersionUpdateType.NEW_FEATURE_ADDED) }
postSideEffect(MainSideEffect.ShowVersionUpdateDialog)
}
NotificationType.IDLE -> { }
Expand Down

0 comments on commit 20ebe4e

Please sign in to comment.