diff --git a/apps/ios/Shared/Views/Chat/ChatItem/IntegrityErrorItemView.swift b/apps/ios/Shared/Views/Chat/ChatItem/IntegrityErrorItemView.swift index c816770c76..d831333c20 100644 --- a/apps/ios/Shared/Views/Chat/ChatItem/IntegrityErrorItemView.swift +++ b/apps/ios/Shared/Views/Chat/ChatItem/IntegrityErrorItemView.swift @@ -84,12 +84,13 @@ struct RcvMsgErrorItemView: View { var body: some View { CIMsgError(chat: chat, chatItem: chatItem) { - AlertManager.shared.showAlertMsg( - title: "Message error", - message: switch rcvMsgError { + let message: LocalizedStringKey = switch rcvMsgError { case let .dropped(attempts): "The app removed this message after \(attempts) attempts to receive it." case let .parseError(parseError): "\(parseError)" } + AlertManager.shared.showAlertMsg( + title: "Message error", + message: message ) } }