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.
cointop/cointop/selection.go

20 lines
286 B
Go

package cointop
func (ct *Cointop) selectedCoinName() string {
coin := ct.State.selectedCoin
if coin != nil {
return coin.Name
}
return ""
}
func (ct *Cointop) selectedCoinSymbol() string {
coin := ct.State.selectedCoin
if coin != nil {
return coin.Symbol
}
return ""
}