Skip to content

Midnight Observer throws error on start-up #72

Description

@philippkolbe

The midnight_observer throws an error on the first loading of the progressions because the userId is not loaded yet at that point in time.
Somehow we have to wait for the userId to be loaded before instantiating the observer.
Or we catch the error and add a call to loadProgressions once the user is loaded...

Checklist
  • Modify app/lib/observers/midnight_observer.dart510c08c Edit
  • Running GitHub Actions for app/lib/observers/midnight_observer.dartEdit

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingsweep

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions