From ca76ef164a701df7456af57ad3cf19b85ecbd8fc Mon Sep 17 00:00:00 2001 From: Christopher Beckmann Date: Thu, 30 Apr 2020 11:49:37 +0200 Subject: [PATCH] Fixed a bug that would prevent errors from being highlighted. --- .../secuso/privacyfriendlysudoku/ui/view/SudokuFieldLayout.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/view/SudokuFieldLayout.java b/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/view/SudokuFieldLayout.java index 0a4fac8..0aef74f 100644 --- a/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/view/SudokuFieldLayout.java +++ b/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/view/SudokuFieldLayout.java @@ -207,13 +207,13 @@ public class SudokuFieldLayout extends RelativeLayout implements IHighlightChang gamecells[i][j].invalidate(); } } + this.invalidate(); } @Override public void dispatchDraw(Canvas canvas) { super.dispatchDraw(canvas); - if(gameController == null) { return; }