Skip to content
This repository was archived by the owner on Oct 1, 2021. It is now read-only.

Insights page flashes from "Nothing to display" to showing logged workouts #81

@matt-auckland

Description

@matt-auckland

Describe the bug
When I go to look at my logged workouts, the page displays a "Nothing to show" screen for a split second before it displays my logged workouts. I assume it's not trying to wait and load data before displaying the "nothing to show" screen

To Reproduce
Steps to reproduce the behavior:

  1. Go to insights (when you have at least one workout logged)
  2. The screen should flash "nothing to show"

Expected behavior
Perhaps show a blank screen to begin with and then display "nothing to show" or the list of logged workouts, instead of showing "nothing to show" before you have loaded (or tried to load) logged workouts.

Screenshots / Screen recordings
If applicable, add screenshots or screen recordings to help explain your problem.

Smartphone (please complete the following information):

  • Device: OnePlus 6
  • Android version: Android 10

Additional notes:

I'm not a Kotlin dev but if this is a simple fix I could try my hand at fixing it, just point me in the correct direction with a few instructions and I'll give it a go.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions