laurencedawson / sync-for-reddit

New and improved issue tracker for the app Sync for Reddit
190 stars 3 forks source link

[BUG] Scores >10000 are truncated even if "Display short scores" option is disabled. #1679

Open Alluminy opened 1 year ago

Alluminy commented 1 year ago

Describe the bug
Scores that surpass 10000 points are truncated even if "Display short scores" is disabled in Post options. This issue only affects the Slides view type.

Steps to Reproduce

  1. Go to Settings > Post options > Display short scores; disable the option.
  2. Visit a feed with a post that has a score of 10000 or greater.

Additionally, if you change view type to anything but Slides, the expected behaviour will happen.

Expected behavior
Instead of seeing truncated score values (10.0k), it is expected to see non-truncated values instead (10000) since the option is disabled.

Screenshots
All of these screenshots were taken with the Display short scores option turned off. Screenshot_20230207-221456 Screenshot_20230207-221439 Screenshot_20230207-221514

Smartphone (please complete the following information):

Additional context
Add any other context about the problem here.