aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/fame
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2024-04-24 09:31:44 +0200
committerGitHub <noreply@github.com>2024-04-24 09:31:44 +0200
commitc6b6f1fd9377896df0d17f1951cb84c2a1ffd24a (patch)
tree08469230a6bcd1eca867d839d6d2b789087450bb /src/main/java/at/hannibal2/skyhanni/features/fame
parentf9b776fc3c3d09e0992816932118569ac5399431 (diff)
downloadskyhanni-c6b6f1fd9377896df0d17f1951cb84c2a1ffd24a.tar.gz
skyhanni-c6b6f1fd9377896df0d17f1951cb84c2a1ffd24a.tar.bz2
skyhanni-c6b6f1fd9377896df0d17f1951cb84c2a1ffd24a.zip
Backend: Replace Internal Commands (#1522)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/fame')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/fame/AccountUpgradeReminder.kt4
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/fame/CityProjectFeatures.kt4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/fame/AccountUpgradeReminder.kt b/src/main/java/at/hannibal2/skyhanni/features/fame/AccountUpgradeReminder.kt
index ca700e2b1..74645000a 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/fame/AccountUpgradeReminder.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/fame/AccountUpgradeReminder.kt
@@ -50,7 +50,9 @@ class AccountUpgradeReminder {
ChatUtils.clickableChat(
"The §a$upgrade §eupgrade has completed! §c(Click to disable these reminders)",
- "shstopaccountupgradereminder"
+ onClick = {
+ disable()
+ }
)
}
diff --git a/src/main/java/at/hannibal2/skyhanni/features/fame/CityProjectFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/fame/CityProjectFeatures.kt
index f5f45862e..d9631f55d 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/fame/CityProjectFeatures.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/fame/CityProjectFeatures.kt
@@ -80,7 +80,9 @@ class CityProjectFeatures {
ChatUtils.clickableChat(
"Daily City Project Reminder! (Click here to disable this reminder)",
- "shstopcityprojectreminder"
+ onClick = {
+ disable()
+ }
)
}