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

22 lines
358 B
Go

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