From b089836efc6615b5ae700a7280eb2cf25025c324 Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com> Date: Fri, 14 Jul 2023 13:15:27 +0100 Subject: [PATCH] ios: fix for XCode 14 --- apps/ios/Shared/Views/Chat/ChatInfoView.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/ios/Shared/Views/Chat/ChatInfoView.swift b/apps/ios/Shared/Views/Chat/ChatInfoView.swift index fb105742ae..c189fd220f 100644 --- a/apps/ios/Shared/Views/Chat/ChatInfoView.swift +++ b/apps/ios/Shared/Views/Chat/ChatInfoView.swift @@ -66,9 +66,9 @@ enum SendReceipts: Identifiable, Hashable { var text: LocalizedStringKey { switch self { - case .yes: "yes" - case .no: "no" - case let .userDefault(on): on ? "default (yes)" : "default (no)" + case .yes: return "yes" + case .no: return "no" + case let .userDefault(on): return on ? "default (yes)" : "default (no)" } } }