disable VersionChecker
I really don't want to be stuck on vacation with a broken app and no way to build a new one.
This commit is contained in:
parent
1d90a15c4e
commit
ae4ce002d6
1 changed files with 4 additions and 0 deletions
|
@ -34,6 +34,10 @@ class VersionCheckerUtilsImpl @Inject constructor(
|
|||
private fun isConnected(): Boolean = receiverStatusStore.isConnected
|
||||
|
||||
override fun triggerCheckVersion() {
|
||||
if (true) {
|
||||
onSameVersionDetected()
|
||||
return
|
||||
}
|
||||
|
||||
if (!sp.contains(R.string.key_last_successful_version_check_timestamp)) {
|
||||
// On a new installation, set it as 30 days old in order to warn that there is a new version.
|
||||
|
|
Loading…
Reference in a new issue