Skip to content

Commit af374ba

Browse files
authored
Remove NetworkReachiblity since it is not being used (#703)
1 parent 3289fb3 commit af374ba

File tree

3 files changed

+0
-41
lines changed

3 files changed

+0
-41
lines changed

Sources/StreamChatSwiftUI/ChatChannelList/ChatChannelListViewModel.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ open class ChatChannelListViewModel: ObservableObject, ChatChannelListController
3535
/// Controls loading the channels.
3636
public private(set) var loadingNextChannels: Bool = false
3737

38-
/// Checks if internet connection is available.
39-
private let networkReachability = NetworkReachability()
40-
4138
/// Checks if the queued changes are completely applied.
4239
private var markDirty = false
4340

Sources/StreamChatSwiftUI/Utils/NetworkReachability.swift

Lines changed: 0 additions & 34 deletions
This file was deleted.

StreamChatSwiftUI.xcodeproj/project.pbxproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,6 @@
332332
847305BB28241D8D004AC770 /* ChatChannelHeader_Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 847305BA28241D8D004AC770 /* ChatChannelHeader_Tests.swift */; };
333333
847305BD28243D25004AC770 /* WebView_Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 847305BC28243D25004AC770 /* WebView_Tests.swift */; };
334334
847305BF28243DFA004AC770 /* mock.html in Resources */ = {isa = PBXBuildFile; fileRef = 847305BE28243DF9004AC770 /* mock.html */; };
335-
84733EC627FDBF82006926E0 /* NetworkReachability.swift in Sources */ = {isa = PBXBuildFile; fileRef = 84733EC527FDBF82006926E0 /* NetworkReachability.swift */; };
336335
847735F12BE904C300637394 /* PollCommentsViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 847735F02BE904C300637394 /* PollCommentsViewModel.swift */; };
337336
84779C752AEBBACD000A6A68 /* BottomReactionsView_Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 84779C742AEBBACD000A6A68 /* BottomReactionsView_Tests.swift */; };
338337
84779C772AEBCA6E000A6A68 /* ReactionsIconProvider_Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 84779C762AEBCA6E000A6A68 /* ReactionsIconProvider_Tests.swift */; };
@@ -920,7 +919,6 @@
920919
847305BA28241D8D004AC770 /* ChatChannelHeader_Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ChatChannelHeader_Tests.swift; sourceTree = "<group>"; };
921920
847305BC28243D25004AC770 /* WebView_Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WebView_Tests.swift; sourceTree = "<group>"; };
922921
847305BE28243DF9004AC770 /* mock.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = mock.html; sourceTree = "<group>"; };
923-
84733EC527FDBF82006926E0 /* NetworkReachability.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NetworkReachability.swift; sourceTree = "<group>"; };
924922
847735F02BE904C300637394 /* PollCommentsViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PollCommentsViewModel.swift; sourceTree = "<group>"; };
925923
84779C742AEBBACD000A6A68 /* BottomReactionsView_Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BottomReactionsView_Tests.swift; sourceTree = "<group>"; };
926924
84779C762AEBCA6E000A6A68 /* ReactionsIconProvider_Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ReactionsIconProvider_Tests.swift; sourceTree = "<group>"; };
@@ -1879,7 +1877,6 @@
18791877
8465FD3B2746A95600AF091E /* StringExtensions.swift */,
18801878
841B64C92775BBC10016FF3B /* Errors.swift */,
18811879
847CEFED27C38ABE00606257 /* MessageCachingUtils.swift */,
1882-
84733EC527FDBF82006926E0 /* NetworkReachability.swift */,
18831880
84F130C02AEAA957006E7B52 /* StreamLazyImage.swift */,
18841881
4FEAB3172BFF71F70057E511 /* SwiftUI+UIAlertController.swift */,
18851882
842ADEA828EB018C00F2BE36 /* LazyImageExtensions.swift */,
@@ -2869,7 +2866,6 @@
28692866
82D64C102AD7E5B700C5C79E /* ImageDecoders+Default.swift in Sources */,
28702867
84289BE5280720E700282ABE /* PinnedMessagesView.swift in Sources */,
28712868
8465FD8B2746A95700AF091E /* FilePickerView.swift in Sources */,
2872-
84733EC627FDBF82006926E0 /* NetworkReachability.swift in Sources */,
28732869
82D64C0A2AD7E5B700C5C79E /* LinkedList.swift in Sources */,
28742870
84E6EC27279B0C930017207B /* ReactionsUsersView.swift in Sources */,
28752871
82D64BEC2AD7E5B700C5C79E /* OperationTask.swift in Sources */,

0 commit comments

Comments
 (0)