crossmate

A collaborative crossword app for iOS
Log | Files | Refs | LICENSE

commit 102b18d17470a2df2abd15972f40cd4b031d8ea8
parent f35b10e4e63640b521c73e774b0a08fd552225c5
Author: Michael Camilleri <[email protected]>
Date:   Thu, 16 Jul 2026 15:53:50 +0900

Tweak share card further

Diffstat:
MCrossmate/Views/Puzzle/SuccessPanel.swift | 33++++++++++++++++-----------------
1 file changed, 16 insertions(+), 17 deletions(-)

diff --git a/Crossmate/Views/Puzzle/SuccessPanel.swift b/Crossmate/Views/Puzzle/SuccessPanel.swift @@ -617,15 +617,6 @@ private struct SuccessShareCard: View { .font(.system(size: 16, weight: .regular, design: .rounded)) .foregroundStyle(.secondary) - ShareGridSilhouette( - cells: puzzle.cells, - tints: cellTints, - rows: puzzle.height, - cols: puzzle.width - ) - .frame(maxWidth: 320) - .padding(.vertical, 12) - VStack(spacing: 6) { Text("‘\(puzzle.title)’") .font(.system(size: 24, weight: .semibold, design: .rounded)) @@ -636,18 +627,26 @@ private struct SuccessShareCard: View { if let author = puzzle.author { Text("by \(author)") .font(.system(size: 17, weight: .medium, design: .rounded)) - .foregroundStyle(.secondary) + .foregroundStyle(.black) .multilineTextAlignment(.center) .lineLimit(1) } - - Text(completionText) - .font(.system(size: 20, weight: .medium, design: .rounded)) - .monospacedDigit() - .foregroundStyle(.black) - .lineLimit(1) - .padding(.top, 6) } + + ShareGridSilhouette( + cells: puzzle.cells, + tints: cellTints, + rows: puzzle.height, + cols: puzzle.width + ) + .frame(maxWidth: 320) + .padding(.vertical, 12) + + Text(completionText) + .font(.system(size: 20, weight: .medium, design: .rounded)) + .monospacedDigit() + .foregroundStyle(.black) + .lineLimit(1) } .padding(24) .frame(width: Self.width)