Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions modules/pref/src/main/PrefForm.scala
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ object PrefForm:
val submitMove = "submitMove" -> bitCheckedNumber(Pref.SubmitMove.choices)
val confirmResign = "confirmResign" -> checkedNumber(Pref.ConfirmResign.choices)
val moretime = "moretime" -> checkedNumber(Pref.Moretime.choices)
val clockSound = "clockSound" -> booleanNumber
val ratings = "ratings" -> booleanNumber
val flairs = "flairs" -> boolean
val follow = "follow" -> booleanNumber
Expand Down
2 changes: 2 additions & 0 deletions modules/pref/src/main/PrefSingleChange.scala
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ object PrefSingleChange:
_.copy(confirmResign = v),
changing(_.moretime): v =>
_.copy(moretime = v),
changing(_.clockSound): v =>
_.copy(clockSound = v == 1),
changing(_.ratings): v =>
_.copy(ratings = v),
changing(_.follow): v =>
Expand Down