diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterDisplay.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterDisplay.kt index 9436115ad..e55bbb833 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterDisplay.kt @@ -117,7 +117,7 @@ class ComposterDisplay { private fun sendNotify() { if (!config.notifyLow.enabled) return - if (!ReminderUtils.isBusy()) return + if (ReminderUtils.isBusy()) return val storage = storage ?: return @@ -177,7 +177,7 @@ class ComposterDisplay { if (!config.warnAlmostClose) return val storage = GardenAPI.storage ?: return - if (!ReminderUtils.isBusy()) return + if (ReminderUtils.isBusy()) return if (System.currentTimeMillis() < storage.lastComposterEmptyWarningTime + 1000 * 60 * 2) return storage.lastComposterEmptyWarningTime = System.currentTimeMillis() |