crossmate

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

commit 8abf6b8f302be6fb1940956d52e30d65e5feaa00
parent eb3624d6d0eb6023a715cb26af2b3aac6a74aaff
Author: Michael Camilleri <[email protected]>
Date:   Fri, 17 Apr 2026 17:32:28 +0900

Add draft toggling to the keyboard overflow

Diffstat:
MCrossmate/Views/KeyboardView.swift | 13++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/Crossmate/Views/KeyboardView.swift b/Crossmate/Views/KeyboardView.swift @@ -41,9 +41,20 @@ struct KeyboardView: View { VStack(alignment: .leading, spacing: 0) { Button { showingOverflow = false + session.togglePencil() + } label: { + Text("Toggle Draft") + .frame(maxWidth: .infinity, alignment: .leading) + .padding(.horizontal, 16) + .padding(.vertical, 12) + } + .buttonStyle(.plain) + + Button { + showingOverflow = false session.startRebus() } label: { - Text("Rebus") + Text("Enter Rebus") .frame(maxWidth: .infinity, alignment: .leading) .padding(.horizontal, 16) .padding(.vertical, 12)