From 5f78e543901d4d5821a7b73a96af22afecc47a6e Mon Sep 17 00:00:00 2001 From: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> Date: Sat, 11 May 2024 18:03:53 +1000 Subject: Fix: Chocolate factory upgrade warning breaking (#1758) --- .../inventory/chocolatefactory/ChocolateFactoryCustomReminder.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java') diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryCustomReminder.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryCustomReminder.kt index 5e03ccb44..c2cabf08e 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryCustomReminder.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryCustomReminder.kt @@ -34,7 +34,7 @@ object ChocolateFactoryCustomReminder { ChocolateFactoryAPI.profileStorage?.targetName = value } - fun isActive() = targetGoal != null + fun isActive() = targetGoal != null && configReminder.enabled private var display = emptyList() -- cgit