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)" } } }