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

toggle button resets for new game

Open bircher opened this issue 3 years ago • 1 comments
trafficstars

Describe the bug When the flag is seleced in the switcher between opening and flagging it behaves as expected on the first game (which starts with opening, so you have to switch to flagging). However when starting a new game (after winning for example) the switcher still shows the flag but it behaves like opening even after the initial uncovering. So if you for example click on a tip to flag it, it will open the mine and you loose. Even though the switcher tells you you are in flagging mode.

To Reproduce win a game with the toggle set to the flag, start a new game from the win screen and then use a tip and try to set a flag there.

The workaround is to flip the switcher a few times.

What control style do you use? You can check which control is selected on "Controls" screen.

Screenshot_20220101-211014

Expected behavior Either start setting flags after the first uncovering when the switcher is set to flagging. (preferably) Or the very least reset the switcher to opening so that one can tell that switching to flagging mode is needed.

Screenshots If applicable, add screenshots to help explain your problem.

Screenshot_20220101-213716

Android Version: 11 App Version 15.3.0

bircher avatar Jan 01 '22 20:01 bircher

Thanks for report this bug. It will be fixed on 15.4.0

lucasnlm avatar Jan 07 '22 23:01 lucasnlm