Skip to content

Backwards logic in history logic #4

Description

@shellster

Was trying to track down the intermittent missing fronting history issue people have been reporting. I don't think this is the issue (or at least I'm not confident that it is), but this logic seems inverted to me:

I believe this should be:

// We need to invalidate the front history so there isn't a stale reference
if (!_frontHistory.value.isEmpty()) {
  clearAllFrontHistory()
}

Making an "issue" instead of a PR because I don't feel confident that I understand the logic well enough to be 100% certain.

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