The Problem
Currently the app always shows the next 2 classes, no matter when they will be.
If the next class is in a month it will still show up, it shouldn't.
If the next class is today in the morning and the one after is tomorrow in the afternoon, they will both show up and it will look like you have 2 classes today.
Proposed Solution
- Don't mix classes from different days.
- If there are still classes today, show them, and no more from other days.
- If there are no classes today and there are tomorrow, show the classes from tomorrow and add
Tomorrow to the card title.
- If there are no classes today nor tomorrow, show classes from the next day possible and add the day of the week to the card title.
- If the next day with classes is next week and it's not weekend yet show
you're free message.
- If next week there are no classes, show
you're free message.