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
308 B
Go
16 lines
308 B
Go
5 years ago
|
package cointop
|
||
|
|
||
|
func (ct *Cointop) togglePortfolio() error {
|
||
|
ct.filterByFavorites = false
|
||
|
ct.portfoliovisible = !ct.portfoliovisible
|
||
|
ct.updateTable()
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (ct *Cointop) toggleShowPortfolio() error {
|
||
|
ct.filterByFavorites = false
|
||
|
ct.portfoliovisible = true
|
||
|
ct.updateTable()
|
||
|
return nil
|
||
|
}
|