From 48875287fa2603edc05b39bcdb5f0bd878b7884c Mon Sep 17 00:00:00 2001 From: liyangdal Date: Tue, 12 Dec 2017 12:32:40 +0800 Subject: [PATCH] Update Harpy.m (#187) --- Harpy/Harpy.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Harpy/Harpy.m b/Harpy/Harpy.m index b5d9fc9..4086a6b 100755 --- a/Harpy/Harpy.m +++ b/Harpy/Harpy.m @@ -125,7 +125,7 @@ - (void)checkVersionDaily { } // If daily condition is satisfied, perform version check - if ([self numberOfDaysElapsedBetweenLastVersionCheckDate] > 1) { + if ([self numberOfDaysElapsedBetweenLastVersionCheckDate] >= 1) { [self checkVersion]; } } @@ -146,7 +146,7 @@ - (void)checkVersionWeekly { } // If weekly condition is satisfied, perform version check - if ([self numberOfDaysElapsedBetweenLastVersionCheckDate] > 7) { + if ([self numberOfDaysElapsedBetweenLastVersionCheckDate] >= 7) { [self checkVersion]; } }