Skip to content

Commit

Permalink
- OCCoreNetworkMonitorSignalProvider: fix crash owncloud/ios-app#1299
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-schwarz committed Nov 23, 2023
1 parent 3d027f6 commit 14bfbc7
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,7 @@ - (instancetype)init
#pragma mark - Update state
- (void)_updateState:(nullable NSNotification *)notification
{
OCNetworkMonitor *networkMonitor = notification.object;

if (networkMonitor == nil)
{
networkMonitor = OCNetworkMonitor.sharedNetworkMonitor;
}
OCNetworkMonitor *networkMonitor = OCNetworkMonitor.sharedNetworkMonitor;

if (networkMonitor != nil)
{
Expand Down

0 comments on commit 14bfbc7

Please sign in to comment.