Skip to content
This repository has been archived by the owner. It is now read-only.

Commit 2fbebcd

Browse files
committed
Changed argument to long type.
1 parent c11f7a4 commit 2fbebcd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

library/src/main/java/hotchemi/android/rate/AppRate.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ public static boolean showRateDialogIfMeetsConditions(Activity activity) {
5353
return isMeetsConditions;
5454
}
5555

56-
private static boolean isOverDate(long targetDate, int threshold) {
57-
return new Date().getTime() - targetDate >= (long)threshold * 24 * 60 * 60 * 1000;
56+
private static boolean isOverDate(long targetDate, long threshold) {
57+
return new Date().getTime() - targetDate >= threshold * 24 * 60 * 60 * 1000;
5858
}
5959

6060
public AppRate setLaunchTimes(int launchTimes) {

0 commit comments

Comments
 (0)