Skip to content

Commit

Permalink
remove ARRL compliance remark
Browse files Browse the repository at this point in the history
  • Loading branch information
ftl committed Feb 22, 2025
1 parent c2751f6 commit 1b5faaa
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions fyneui/entry.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,17 +310,14 @@ func (e *entry) SetBestMatchingCallsign(callsign core.AnnotatedCallsign) {
e.predictedCallLabel.ParseMarkdown(e.renderCallsign(callsign))
}

func (e *entry) SetDXCC(dxccName, continent string, itu, cq int, arrlCompliant bool) {
func (e *entry) SetDXCC(dxccName, continent string, itu, cq int) {
md := fmt.Sprintf("%s, %s", dxccName, continent)
if itu != 0 {
md += fmt.Sprintf(", ITU %d", itu)
}
if cq != 0 {
md += fmt.Sprintf(", CQ %d", cq)
}
if dxccName != "" && !arrlCompliant {
md += ", <span color='red'>not ARRL compliant</span>"
}
e.dxccLabel.ParseMarkdown(md)
}

Expand Down

0 comments on commit 1b5faaa

Please sign in to comment.