break: rename GoTomatoPomodoroConfig
-> PomodoroConfig
This commit is contained in:
parent
0180aea8c1
commit
c20d36d2d2
5 changed files with 13 additions and 13 deletions
|
@ -49,7 +49,7 @@ func handleClientCommands(ws *websocket.Conn) {
|
|||
}
|
||||
case "updateSettings":
|
||||
if !pomodoro.IsPomodoroOngoing() {
|
||||
if clientCommand.Settings != (models.GoTomatoPomodoroConfig{}) {
|
||||
if clientCommand.Settings != (models.PomodoroConfig{}) {
|
||||
shared.Message.Settings = clientCommand.Settings
|
||||
shared.Message.TimeLeft = clientCommand.Settings.Work
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue