From f9ce2fa19a1178fd9f2e2728d09ac5acd299d69f Mon Sep 17 00:00:00 2001 From: Brady Date: Wed, 8 May 2024 08:30:59 -0230 Subject: Backend: Text API (#1718) Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniTracker.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2/skyhanni/utils/tracker') 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 5f7265120..51a0e4f65 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniTracker.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniTracker.kt @@ -54,7 +54,8 @@ open class SkyHanniTracker( "Are you sure you want to reset your total $name? Click here to confirm.", onClick = { reset(DisplayMode.TOTAL, "Reset total $name!") - } + }, + oneTimeClick = true ) fun modify(modifyFunction: (Data) -> Unit) { -- cgit