← All repositories

crossmate

A collaborative crossword app for iPhone and iPad

git clone https://code.inqk.net/crossmate.git


commit 358f33254ddcbe6be90a7060e0380da6967df2d8
parent 60341428a21b266c074bb5753bdc16234961387e
Author: Michael Camilleri <[email protected]>
Date:   Mon,  4 May 2026 09:01:08 +0900

Prevent author tinting on empty squares

Diffstat

MCrossmate/Views/GridView.swift | 4+++-

1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Crossmate/Views/GridView.swift b/Crossmate/Views/GridView.swift

@@ -46,7 +46,9 @@ struct GridView: View {
                     specialKind: session.puzzle.specialKind,
                     remoteWordTint: tintByCell[pos],
                     remoteOutline: outlineByCell[pos],
-                    authorTint: square.letterAuthorID.flatMap { authorTintByID[$0] }
+                    authorTint: square.entry.isEmpty
+                        ? nil
+                        : square.letterAuthorID.flatMap { authorTintByID[$0] }
                 )
                 .equatable()
                 .onTapGesture {