Skip to content

Calculation of frequency SECONDLY is not increasing seconds correctly #82

@jonasbadstuebner

Description

@jonasbadstuebner

I was writing a test case for a different issue and flutter test ran into a while true loop.

final secondsWithoutMinutes = minutes % Duration.secondsPerMinute;

In the above line, minutes should be seconds. Otherwise, no seconds are ever added to the newValue, leading to no new recurrences emitted and therefore a never ending while loop.

Environment:

  • Package version: main branch

I have the PR ready to fix this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T: FixType: Build & CI

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions