tat_flutter
tat_flutter copied to clipboard
Bug: score fetch error by non-digital score
Describe the bug
The score may not be a digital parsable string, ex: Q
(What is this ???)
Only happened on seldom devices.
To Reproduce Unknown. We should find someone whose grade contains non-digital string
Expected behavior show all grades without error
Screenshots N/A
I do have "W" (withdraw)s in my score page, but the app displayed it just fine. Maybe it's related to this line.
By debugging with my account, I found out that score.score
could be either "W", "抵免", or a decimal number in a string e.g. "71.2". DM me for screenshots.