Improve texts

This commit is contained in:
Christoph Hagen 2023-12-20 19:04:48 +01:00
parent f8fc37d7e0
commit f284696e21
2 changed files with 4 additions and 2 deletions

View File

@ -22,6 +22,6 @@ enum ConnectionStrategy: Int, CaseIterable, Identifiable {
extension ConnectionStrategy: CustomStringConvertible { extension ConnectionStrategy: CustomStringConvertible {
var description: String { var description: String {
transmissionTypes.map { $0.displayName }.joined(separator: "+") transmissionTypes.map { $0.displayName }.joined(separator: " + ")
} }
} }

View File

@ -28,7 +28,9 @@ struct ContentView: View {
.font(.title) .font(.title)
Spacer() Spacer()
} }
Text(coordinator.state.description) if coordinator.state != .notChecked {
Text(coordinator.state.description)
}
Spacer() Spacer()
HStack(alignment: .bottom, spacing: 0) { HStack(alignment: .bottom, spacing: 0) {
Button(action: { showHistorySheet = true }) { Button(action: { showHistorySheet = true }) {