Update context.go

Update inaccurate code comment
This commit is contained in:
Adriano 2020-07-27 22:37:52 -06:00 committed by GitHub
parent f70e34f8f3
commit 6c87b046ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,7 +37,7 @@ type AppContext struct {
View *views.ViewContext
}
// SetStatusMessage sets the application's status message for three seconds.
// SetStatusMessage sets the application's status message for five seconds.
func (c *AppContext) SetStatusMessage(msg string) {
c.SetStatusMessageTimed(msg, 5*time.Second)
}