crossmate

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

commit e35b9b643c28010cdfaee42e38ebd36a861888d4
parent b3018f4b76f3b3a8c0b783a364e82be5d3ab7315
Author: Michael Camilleri <[email protected]>
Date:   Sun, 28 Jun 2026 18:25:55 +0900

Deemphasise share button in Success Panel

Diffstat:
MCrossmate/Views/Components/CustomButtons.swift | 12------------
MCrossmate/Views/Puzzle/SuccessPanel.swift | 8+++-----
2 files changed, 3 insertions(+), 17 deletions(-)

diff --git a/Crossmate/Views/Components/CustomButtons.swift b/Crossmate/Views/Components/CustomButtons.swift @@ -26,18 +26,6 @@ extension View { } @ViewBuilder - func shareButtonGlass() -> some View { - let shape = RoundedRectangle(cornerRadius: 9, style: .continuous) - if #available(iOS 26.0, *) { - glassEffect(.regular.interactive(), in: shape) - } else { - overlay { - shape.strokeBorder(.quaternary, lineWidth: 0.5) - } - } - } - - @ViewBuilder func nudgeGlass(isLabeled: Bool = false) -> some View { if #available(iOS 26.0, *) { if isLabeled { diff --git a/Crossmate/Views/Puzzle/SuccessPanel.swift b/Crossmate/Views/Puzzle/SuccessPanel.swift @@ -289,11 +289,9 @@ struct SuccessPanel: View { private var shareIcon: some View { Image(systemName: "square.and.arrow.up") - .font(.system(size: 16, weight: .semibold)) - .foregroundStyle(.primary) - .padding(.bottom, 4) - .frame(width: 34, height: 30) - .shareButtonGlass() + .font(.system(size: 18, weight: .medium)) + .foregroundStyle(.secondary) + .frame(width: 32, height: 32) .accessibilityLabel("Share") }