Skip to content

Commit

Permalink
Merge branch 'main' of github.com:ouchadam/helium
Browse files Browse the repository at this point in the history
  • Loading branch information
ouchadam committed Nov 6, 2022
2 parents 2e6e212 + 51e6332 commit 70af3a4
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ class BetaVersionUpgradeUseCase(
return when (previousVersion) {
null -> false
else -> currentVersion > previousVersion
}.also {
applicationPreferences.setVersion(ApplicationVersion(currentVersion))
}
}

Expand All @@ -38,7 +36,8 @@ class BetaVersionUpgradeUseCase(
}
}

fun notifyUpgraded() {
suspend fun notifyUpgraded() {
applicationPreferences.setVersion(ApplicationVersion(buildMeta.versionCode))
_continuation?.resume(Unit)
_continuation = null
}
Expand Down

0 comments on commit 70af3a4

Please sign in to comment.