Fixed a bug with the Hint button. When pressed when having notes activated, it would set notes instead of revealing the selected field.

Also added the sudoku ic_launcher icon.
This commit is contained in:
Christopher Beckmann 2016-02-19 16:27:38 +01:00
parent 5d9863bdee
commit 72786d070e
7 changed files with 7 additions and 1 deletions
app/src/main
ic_launcher-web.png
java/org/secuso/privacyfriendlysudoku/controller
res
mipmap-hdpi
mipmap-mdpi
mipmap-xhdpi
mipmap-xxhdpi
mipmap-xxxhdpi

Binary file not shown.

After

(image error) Size: 63 KiB

View file

@ -179,10 +179,16 @@ public class GameController implements IModelChangedListener, Parcelable {
int[] solved = solve();
// and reveal the selected value.
selectValue(solved[selectedRow * getSize() + selectedCol]);
int value = solved[selectedRow * getSize() + selectedCol];
setValue(selectedRow, selectedCol, value);
// add state to undo
undoRedoManager.addState(gameBoard);
highlightValue = value;
usedHints++;
notifyHintListener();
notifyHighlightChangedListeners();
}
private void setGameType(GameType type) {

Binary file not shown.

Before

(image error) Size: 3.3 KiB

After

(image error) Size: 4.5 KiB

Before After
Before After

Binary file not shown.

Before

(image error) Size: 2.2 KiB

After

(image error) Size: 2.8 KiB

Before After
Before After

Binary file not shown.

Before

(image error) Size: 4.7 KiB

After

(image error) Size: 6.5 KiB

Before After
Before After

Binary file not shown.

Before

(image error) Size: 7.5 KiB

After

(image error) Size: 11 KiB

Before After
Before After

Binary file not shown.

Before

(image error) Size: 10 KiB

After

(image error) Size: 16 KiB

Before After
Before After