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
|
private fun isConnected(): Boolean = receiverStatusStore.isConnected
|
||||||
|
|
||||||
override fun triggerCheckVersion() {
|
override fun triggerCheckVersion() {
|
||||||
|
if (true) {
|
||||||
|
onSameVersionDetected()
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
if (!sp.contains(R.string.key_last_successful_version_check_timestamp)) {
|
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.
|
// On a new installation, set it as 30 days old in order to warn that there is a new version.
|
||||||
|
|
Loading…
Add table
Reference in a new issue