Skip to content
This repository has been archived by the owner on Jul 2, 2020. It is now read-only.

Commit

Permalink
Update display() callback for new SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
ferologics committed Jul 27, 2017
1 parent 6699fd4 commit 7267336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/ConnectivityService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class ConnectivityService: NSObject, EMSDeviceManagerDelegate, EMSDeviceConnecta
if let mirror = connectedMirrors.first(where: { $0.identifier == mirrorIdentifier }) {
NSLog("[ConnectivityService] attempting to send data = \(data) to Mirror with identifier = \(mirrorIdentifier)")

mirror.display(data) { (_, error) in
mirror.display(data) { error in
if let error = error {
NSLog("[ConnectivityService] failed to send data = \(data) to Mirror with identifier = \(mirrorIdentifier), error = \(error)")
} else {
Expand Down

0 comments on commit 7267336

Please sign in to comment.