This commit is contained in:
2025-04-06 18:36:16 +02:00
parent eaa0c62892
commit 6749289255
7 changed files with 46 additions and 34 deletions

View File

@ -180,7 +180,7 @@ func (fc *FlexClient) SendSpottoFlex(spot TelnetSpot) {
flexSpot.Priority = "1"
flexSpot.BackgroundColor = "#ff000000"
} else if spot.CallsignWorked {
flexSpot.Color = "#ff000000"
flexSpot.Color = "#ffeaeaea"
flexSpot.BackgroundColor = "#ff00c0c0"
flexSpot.Priority = "5"
flexSpot.Comment = flexSpot.Comment + " [Worked]"
@ -203,6 +203,10 @@ func (fc *FlexClient) SendSpottoFlex(spot TelnetSpot) {
flexSpot.Color = "#ffeaeaea"
flexSpot.Priority = "5"
flexSpot.BackgroundColor = "#ff000000"
} else {
flexSpot.Color = "#ffeaeaea"
flexSpot.Priority = "5"
flexSpot.BackgroundColor = "#ff000000"
}
flexSpot.Comment = strings.ReplaceAll(flexSpot.Comment, " ", "\u00A0")