Skip to content

Commit

Permalink
Merge pull request #611 from Adamant-im/dev/trello.com/c/0dgGzsPE
Browse files Browse the repository at this point in the history
Fixed: do not show popup "No connection" on send message
  • Loading branch information
IanaaDvlp authored Dec 2, 2024
2 parents 3ca62e2 + ec0a4ed commit d6aa37d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Adamant/Modules/Chat/ViewModel/ChatViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit d6aa37d

Please sign in to comment.