diff --git a/library/src/main/java/hotchemi/android/rate/AppRate.java b/library/src/main/java/hotchemi/android/rate/AppRate.java index b9a4907..e0f2237 100644 --- a/library/src/main/java/hotchemi/android/rate/AppRate.java +++ b/library/src/main/java/hotchemi/android/rate/AppRate.java @@ -53,7 +53,7 @@ public static boolean showRateDialogIfMeetsConditions(Activity activity) { return isMeetsConditions; } - private static boolean isOverDate(long targetDate, int threshold) { + private static boolean isOverDate(long targetDate, long threshold) { return new Date().getTime() - targetDate >= threshold * 24 * 60 * 60 * 1000; }