diff options
author | Brady <thatgravyboat@gmail.com> | 2024-05-08 08:30:59 -0230 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-08 13:00:59 +0200 |
commit | f9ce2fa19a1178fd9f2e2728d09ac5acd299d69f (patch) | |
tree | c344555d1a09f27b74347413f828df71fe95767b /src/main/java/at/hannibal2/skyhanni/utils/tracker | |
parent | 49d918a5d01f102796c2ef52a26e69a41892eb8f (diff) | |
download | skyhanni-f9ce2fa19a1178fd9f2e2728d09ac5acd299d69f.tar.gz skyhanni-f9ce2fa19a1178fd9f2e2728d09ac5acd299d69f.tar.bz2 skyhanni-f9ce2fa19a1178fd9f2e2728d09ac5acd299d69f.zip |
Backend: Text API (#1718)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/tracker')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniTracker.kt | 3 |
1 files changed, 2 insertions, 1 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 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<Data : TrackerData>( "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) { |