break: rename ServerMessage.PomodoroSettings
-> .Settings
This commit is contained in:
parent
06633ff438
commit
61b2f71bf3
4 changed files with 16 additions and 16 deletions
|
@ -50,7 +50,7 @@ func handleClientCommands(ws *websocket.Conn) {
|
|||
case "updateSettings":
|
||||
if !pomodoro.IsPomodoroOngoing() {
|
||||
if clientCommand.PomodoroSettings != (models.GoTomatoPomodoroConfig{}) {
|
||||
shared.Message.PomodoroSettings = clientCommand.PomodoroSettings
|
||||
shared.Message.Settings = clientCommand.PomodoroSettings
|
||||
shared.Message.TimeLeft = clientCommand.PomodoroSettings.Work
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue