Commit 404d6b2d authored by wanglei's avatar wanglei

...

parent 8ec129b3
...@@ -236,7 +236,7 @@ object NotificationUtil { ...@@ -236,7 +236,7 @@ object NotificationUtil {
return return
} }
val maxShowNotificationCount = AppPreferences.getInstance().getString("maxShowNotificationCount", "0").toInt() val maxShowNotificationCount = AppPreferences.getInstance().getString("maxShowNotificationCount", "0").toInt()
var todayShowCount = AppPreferences.getInstance().getInt("notificationCount_${getCurrentDate()}", 0) val todayShowCount = AppPreferences.getInstance().getInt("notificationCount_${getCurrentDate()}", 0)
if (todayShowCount >= maxShowNotificationCount) { if (todayShowCount >= maxShowNotificationCount) {
return return
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment