Skip to content

Commit 84e32f3

Browse files
committed
[CHORE]#205 : versionCode to VersionName rename
1 parent 57ff744 commit 84e32f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

domain/src/main/kotlin/com/bff/wespot/domain/usecase/AutoLoginUseCase.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ class AutoLoginUseCase @Inject constructor(
1414
private val dataStoreRepository: DataStoreRepository,
1515
private val remoteConfigRepository: RemoteConfigRepository,
1616
) {
17-
suspend operator fun invoke(versionCode: String): LoginState {
17+
suspend operator fun invoke(versionName: String): LoginState {
1818
val minVersion = remoteConfigRepository.fetchFromRemoteConfig(RemoteConfigKey.MIN_VERSION)
1919

20-
if (versionCompare(minVersion, versionCode)) {
20+
if (versionCompare(minVersion, versionName)) {
2121
return LoginState.FORCE_UPDATE
2222
}
2323

0 commit comments

Comments
 (0)