Skip to content

Fix timer countdown when opponent leaves #586

@kweithers

Description

@kweithers

What is the problem?

When the timer that counts down when your opponent leaves the game is greater than 60 seconds, the app displays the seconds.remainder(60) as the number of seconds remaining until you can either 'Claim Victory' or 'Call Draw', instead of the correct total seconds value.

Steps to reproduce the bug

  1. Create a 10+0 rapid game.
  2. Have your opponent leave.
  3. Observe the countdown timer go from T...3..2..1..0..59..

What did you expect to happen?

Countdown timer will subtract 1 each time step until it reaches 0.

What happened instead?

Countdown timer subtracts 1 each time step, then jumps to 59 from 0.

Device Info

iPhone 15 Pro

Operating System Version

iOS 17.3.1

Additional information

No response

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