asiliuk/BsuirScheduleApp

Subgroup schedule can't show up on the widget

Archichil opened this issue · 0 comments

Describe the bug
If there is a day in the schedule when only one subgroup has pairs, and another subgroup has like "weekend", we can face unexpexted behaviour: schedule widget just stops on the last day, that widget could display.

To Reproduce
Steps to reproduce the behavior:

  1. Find a group, where there are days, when only one subgroup has classes. (ex. 251003)
  2. Choose that subgroup to filter pairs.
  3. Wait until this day.
  4. See the bug on the widget.

Expected behavior
I think, that widget have to skip these days like it does on weekends, and display next day schedule, when this subgroup has pairs.

Screenshots
First situation: we recreated the widget with 2nd subgroup selected:
image

Second situation: we swapped to the first subgroup than swapped back to 2nd:
image

Third situation: schedule stopped yesterday:
image

Environment information (please complete the following information):

  • Device: IPhone 14 pro
  • OS: iOS 17.1.1
  • App Version: 3.2.1(99)