diff options
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniTracker.kt | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniTracker.kt b/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniTracker.kt index 170efc84c..5f7265120 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniTracker.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniTracker.kt @@ -50,14 +50,12 @@ open class SkyHanniTracker<Data : TrackerData>( fun isInventoryOpen() = inventoryOpen - fun resetCommand() { - ChatUtils.clickableChat( - "Are you sure you want to reset your total $name? Click here to confirm.", - onClick = { - reset(DisplayMode.TOTAL, "Reset total $name!") - } - ) - } + fun resetCommand() = ChatUtils.clickableChat( + "Are you sure you want to reset your total $name? Click here to confirm.", + onClick = { + reset(DisplayMode.TOTAL, "Reset total $name!") + } + ) fun modify(modifyFunction: (Data) -> Unit) { getSharedTracker()?.let { |