antimine-android icon indicating copy to clipboard operation
antimine-android copied to clipboard

Flag/Reveal button state is not restored correctly

Open westnordost opened this issue 2 years ago • 3 comments

The state of the Flag/Reveal button is not restored correctly when continuing a game.

To Reproduce

  1. Tap the Flag/Reveal button to switch to "Flag" mode.
  2. go back to the main screen
  3. continue the game

The "Flag" mode is shown to be active, but when tapping on the game board, it turns out that the button was actually in reveal-mode.

Screenshots

https://user-images.githubusercontent.com/4661658/172728811-803d3f50-eb51-4fda-ab41-a0fc40e6e2ed.mp4

Android Version: 11

App Version 15.7.1

westnordost avatar Jun 08 '22 22:06 westnordost

Thanks for report this bug. It will be fixed on the next update via #376 (6014f66136e35fe6068d1e071b6282f41a336f81).

lucasnlm avatar Aug 12 '22 00:08 lucasnlm

Another similar phenomenon:

When ending game with flag, press new game

The new game is started with reveal, but shown as flag, cause failure.

Brli avatar Mar 07 '23 14:03 Brli

not sure how related this is to this issue:

  1. new game
  2. switch to reveal/tap mode
  3. tap on field
  4. notice it switched to flag mode
  5. tap where a mine is at
  6. game performs a reveal instead of flag, causing you to fail

JacksonChen666 avatar Jul 12 '23 15:07 JacksonChen666