antimine-android
antimine-android copied to clipboard
Flag/Reveal button state is not restored correctly
The state of the Flag/Reveal button is not restored correctly when continuing a game.
To Reproduce
- Tap the Flag/Reveal button to switch to "Flag" mode.
- go back to the main screen
- 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
Thanks for report this bug. It will be fixed on the next update via #376 (6014f66136e35fe6068d1e071b6282f41a336f81).
Another similar phenomenon:
When ending game with flag, press new game
The new game is started with reveal, but shown as flag, cause failure.
not sure how related this is to this issue:
- new game
- switch to reveal/tap mode
- tap on field
- notice it switched to flag mode
- tap where a mine is at
- game performs a reveal instead of flag, causing you to fail