From f284696e215f3f134da1cfbc9e97f62da6c80f13 Mon Sep 17 00:00:00 2001 From: Christoph Hagen Date: Wed, 20 Dec 2023 19:04:48 +0100 Subject: [PATCH] Improve texts --- Sesame/Common/ConnectionStrategy.swift | 2 +- Sesame/ContentView.swift | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Sesame/Common/ConnectionStrategy.swift b/Sesame/Common/ConnectionStrategy.swift index dee9ce2..f735724 100644 --- a/Sesame/Common/ConnectionStrategy.swift +++ b/Sesame/Common/ConnectionStrategy.swift @@ -22,6 +22,6 @@ enum ConnectionStrategy: Int, CaseIterable, Identifiable { extension ConnectionStrategy: CustomStringConvertible { var description: String { - transmissionTypes.map { $0.displayName }.joined(separator: "+") + transmissionTypes.map { $0.displayName }.joined(separator: " + ") } } diff --git a/Sesame/ContentView.swift b/Sesame/ContentView.swift index 587887d..2263a2c 100644 --- a/Sesame/ContentView.swift +++ b/Sesame/ContentView.swift @@ -28,7 +28,9 @@ struct ContentView: View { .font(.title) Spacer() } - Text(coordinator.state.description) + if coordinator.state != .notChecked { + Text(coordinator.state.description) + } Spacer() HStack(alignment: .bottom, spacing: 0) { Button(action: { showHistorySheet = true }) {