From 102fdf3b1889e4d96f73335edae41f26a5b68a05 Mon Sep 17 00:00:00 2001 From: Mark Aleksander Hil <32651095+markaleksanderh@users.noreply.github.com> Date: Mon, 14 Mar 2022 20:58:19 +0000 Subject: [PATCH] mobile: update copy, fix typo (#440) * Updated copy and fixed typo * Updated copy and fixed typo --- .../app/src/main/java/chat/simplex/app/model/ChatModel.kt | 6 +++--- apps/ios/Shared/Model/ChatModel.swift | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/android/app/src/main/java/chat/simplex/app/model/ChatModel.kt b/apps/android/app/src/main/java/chat/simplex/app/model/ChatModel.kt index e8202f5c0b..7ccb1bad4e 100644 --- a/apps/android/app/src/main/java/chat/simplex/app/model/ChatModel.kt +++ b/apps/android/app/src/main/java/chat/simplex/app/model/ChatModel.kt @@ -241,9 +241,9 @@ data class Chat ( val statusString: String get() = if (this is Connected) "Server connected" else "Connecting server…" val statusExplanation: String get() = when { - this is Connected -> "You are connected to the server you use to receve messages from this contact." - this is Error -> "Trying to connect to the server you use to receve messages from this contact (error: $error)." - else -> "Trying to connect to the server you use to receve messages from this contact." + this is Connected -> "You are connected to the server used to receive messages from this contact." + this is Error -> "Trying to connect to the server used to receive messages from this contact (error: $error)." + else -> "Trying to connect to the server used to receive messages from this contact." } @Serializable @SerialName("unknown") class Unknown: NetworkStatus() diff --git a/apps/ios/Shared/Model/ChatModel.swift b/apps/ios/Shared/Model/ChatModel.swift index 8e7c6090a4..f38c94f5e0 100644 --- a/apps/ios/Shared/Model/ChatModel.swift +++ b/apps/ios/Shared/Model/ChatModel.swift @@ -360,9 +360,9 @@ final class Chat: ObservableObject, Identifiable { var statusExplanation: String { get { switch self { - case .connected: return "You are connected to the server you use to receve messages from this contact." - case let .error(err): return "Trying to connect to the server you use to receve messages from this contact (error: \(err))." - default: return "Trying to connect to the server you use to receve messages from this contact." + case .connected: return "You are connected to the server used to receive messages from this contact." + case let .error(err): return "Trying to connect to the server used to receive messages from this contact (error: \(err))." + default: return "Trying to connect to the server used to receive messages from this contact." } } }