commit 9420b8be60df96208558b6973e97274780937844
parent 15df6991fabbf7db9efe7f49fbcd80e28fc0b1b8
Author: Michael Camilleri <[email protected]>
Date: Tue, 28 Apr 2026 11:14:01 +0900
Tweak share sheet
Diffstat:
1 file changed, 3 insertions(+), 10 deletions(-)
diff --git a/Crossmate/Views/GameShareItem.swift b/Crossmate/Views/GameShareItem.swift
@@ -34,8 +34,8 @@ struct GameShareSheet: View {
.multilineTextAlignment(.center)
.fixedSize(horizontal: false, vertical: true)
- Text("Crossmate syncs games using iCloud. Please be aware that your player name is shared with other players. Players can work on the puzzle simultaneously or at different times.")
- .font(.caption)
+ Text("Crossmate syncs games using iCloud. Please be aware that your player name is shared with other players. Players can work on the same puzzle simultaneously or at different times.")
+ .font(.footnote)
.foregroundStyle(.secondary)
.multilineTextAlignment(.center)
.fixedSize(horizontal: false, vertical: true)
@@ -43,19 +43,12 @@ struct GameShareSheet: View {
}
.frame(maxWidth: .infinity)
.padding(.horizontal, 8)
- .padding(.vertical, 8)
+ .padding(.vertical, 4)
.listRowInsets(EdgeInsets())
.listRowBackground(Color.clear)
Section {
if let shareURL {
- LabeledContent("Link") {
- Text(shareURL.absoluteString)
- .font(.caption.monospaced())
- .textSelection(.enabled)
- .multilineTextAlignment(.trailing)
- }
-
Button {
UIPasteboard.general.string = shareURL.absoluteString
didCopy = true