From ec0a4eda402fd5f335c405615fb767d062215079 Mon Sep 17 00:00:00 2001 From: Iana Date: Sat, 30 Nov 2024 13:12:21 +0200 Subject: [PATCH] Fixed: do not show popup "No connection" on send message --- Adamant/Modules/Chat/ViewModel/ChatViewModel.swift | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Adamant/Modules/Chat/ViewModel/ChatViewModel.swift b/Adamant/Modules/Chat/ViewModel/ChatViewModel.swift index fd0086dfd..4090a58c8 100644 --- a/Adamant/Modules/Chat/ViewModel/ChatViewModel.swift +++ b/Adamant/Modules/Chat/ViewModel/ChatViewModel.swift @@ -288,10 +288,6 @@ final class ChatViewModel: NSObject { return } - if reachabilityMonitor.connection == false { - dialog.send(.alert(.adamant.sharedErrors.networkError)) - } - Task { if apiServiceCompose.get(.adm)?.hasEnabledNode == false { dialog.send(.alert(ApiServiceError.noEndpointsAvailable(