aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-02-19 13:00:09 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-02-19 13:00:09 +0100
commit82620115882a256d755fbb46e0d51b9521fcdbf1 (patch)
tree3f52c08697e5af0e64f828c10c9f9cda0cf76e9e /src/main/java
parentd1f0d9de8a38fe41b5f931a6115853bf6b4f9191 (diff)
downloadskyhanni-82620115882a256d755fbb46e0d51b9521fcdbf1.tar.gz
skyhanni-82620115882a256d755fbb46e0d51b9521fcdbf1.tar.bz2
skyhanni-82620115882a256d755fbb46e0d51b9521fcdbf1.zip
no longer using !isbusy return when it should be isBusy return
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterDisplay.kt4
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()