mirror of
https://github.com/vsariola/sointu.git
synced 2025-11-13 05:12:47 -05:00
feat(tracker): decrease the display duration of RailErrors
This commit is contained in:
parent
da6226d3ff
commit
4a46d601f2
@ -306,7 +306,7 @@ func (m *Model) updateRails() {
|
|||||||
Name: "RailError",
|
Name: "RailError",
|
||||||
Message: m.derived.railError.Error(),
|
Message: m.derived.railError.Error(),
|
||||||
Priority: Error,
|
Priority: Error,
|
||||||
Duration: time.Minute,
|
Duration: time.Second * 10,
|
||||||
})
|
})
|
||||||
} else { // clear the alert if it was set
|
} else { // clear the alert if it was set
|
||||||
m.Alerts().AddAlert(Alert{Name: "RailError"})
|
m.Alerts().AddAlert(Alert{Name: "RailError"})
|
||||||
|
|||||||
Reference in New Issue
Block a user