Skip to content

Up-to-date state information in construct information screens when using chapter selection bar #29

@Owlaukka

Description

@Owlaukka

Overview

When using the chapter selection bar on the chapter screens (i.e. the bar below the main app bar in the chapter screens) to select a chapter the state of the previous chapter is seemingly carried over to the new selected chapter.

Steps to reproduce

For instance, if you are on a chapter screen where you have found 1 word and marked it as read and then you select another chapter that hasn't been seen yet (no progress in the state) with the chapter selection bar the new chapter screen shows the progress of the chapter as read and with 1 found word.

Potential causes/ideas

I suspect the cause is related to how flutter handles redrawing certain things based on changes and how the selection bar is implemented. Perhaps flutter only redraws the specific text elements that contain the different chapter's data without accessing the state. The chapter data obviously doesn't come from the state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions