Skip to content

Commit

Permalink
AntiDisconnect: Use formatter in the button presses setting
Browse files Browse the repository at this point in the history
We now show "$x presses" by using the newly added setting formatter
  • Loading branch information
Baitinq committed Jan 20, 2023
1 parent 8f4ccbe commit 1229c0b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ object AntiDisconnect : Module(
description = "Prevents you from accidently disconnecting",
category = Category.MISC
) {
val presses by setting("Button Presses", 3, 1..20, 1)
val presses by setting("Button Presses", 3, 1..20, 1, formatter = {i -> "$i presses"})
}

0 comments on commit 1229c0b

Please sign in to comment.