mirror of
https://github.com/vsariola/sointu.git
synced 2025-11-12 12:52:53 -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",
|
||||
Message: m.derived.railError.Error(),
|
||||
Priority: Error,
|
||||
Duration: time.Minute,
|
||||
Duration: time.Second * 10,
|
||||
})
|
||||
} else { // clear the alert if it was set
|
||||
m.Alerts().AddAlert(Alert{Name: "RailError"})
|
||||
|
||||
Reference in New Issue
Block a user