From e0ae2e8ad4602b3e96fb6ec39716709f225d2461 Mon Sep 17 00:00:00 2001 From: David Cole <40234707+DavidArthurCole@users.noreply.github.com> Date: Sun, 13 Oct 2024 09:54:05 -0400 Subject: Backend: Detekt Fixes Part 7 (#2667) Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- .../hannibal2/skyhanni/utils/tracker/SkyHanniBucketedItemTracker.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2/skyhanni/utils/tracker') diff --git a/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniBucketedItemTracker.kt b/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniBucketedItemTracker.kt index 2addca5c0..ff691fd53 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniBucketedItemTracker.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniBucketedItemTracker.kt @@ -151,7 +151,10 @@ class SkyHanniBucketedItemTracker, BucketedData : BucketedItemTracke onClick = { if (KeyboardManager.isModifierKeyDown()) { data.removeItem(data.getSelectedBucket(), internalName) - ChatUtils.chat("Removed $cleanName §efrom $name${if (data.getSelectedBucket() != null) " (${data.getSelectedBucket()})" else ""}") + ChatUtils.chat("Removed $cleanName §efrom $name" + + if (data.getSelectedBucket() != null) " (${data.getSelectedBucket()})" + else "" + ) } else { modify { it.toggleItemHide(data.getSelectedBucket(), internalName) -- cgit