Skip to content

Notifications don't handle playoff tiebreaker criteria properly #926

@lethosor

Description

@lethosor

A playoff match where the overall score was tied will display "teams A-B-C tied D-E-F scoring X-X" in the notification, even in cases when the tie was broken. (Since #734, this is displayed correctly in the app when selecting the notification.)

I suspect this is the cause (but I don't have a dev environment set up to test it). The winning_alliance field from the API should be correct (example).

} else if (blueScore == redScore) { // firstTeams tied secondTeams
template = context.getString(R.string.notification_score_teams_tied_teams);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions