Skip to content

Pressing back when on week 1 will cause the app to crash #25

@Square-face

Description

@Square-face

Describe the bug
When selecting week in the schedule view. If the currently selected week is one. Going one week backwards (i.e back to 52) will cause the app to crash

To Reproduce
Steps to reproduce the behavior:

  1. Go to Schedule
  2. Press next week until you get to week 1
  3. Press previous week once
  4. crash

Expected behavior
Week should roll over to 52 and nothing should happen

  • Device: Samsung galaxy S20+ 5G
  • OS: Android13
  • Version: every version with a working week selector (tested until commit #45c647bdbed0a597b49d09f444178068e7645047)

Additional context
most likley a resut of week 0 not being a thing

Metadata

Metadata

Assignees

Labels

BugSomething isn't workinggood first issueGood for newcomers

Projects

Status

Todo

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions