mirror of https://github.com/miguelmota/cointop
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
240 B
Go
16 lines
240 B
Go
6 years ago
|
package cointop
|
||
|
|
||
|
func (ct *Cointop) save() error {
|
||
|
ct.setSavingStatus()
|
||
|
ct.saveConfig()
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (ct *Cointop) setSavingStatus() {
|
||
|
go func() {
|
||
|
ct.loadingTicks("saving", 900)
|
||
|
ct.updateStatusbar("")
|
||
|
ct.rowChanged()
|
||
|
}()
|
||
|
}
|