File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
MultipeerHelper+Example/MultipeerHelper+Example Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ extension RealityViewController: MultipeerHelperDelegate {
5151 _ peer: MCPeerID ,
5252 with discoveryInfo: [ String : String ] ?
5353 ) -> Bool {
54- if self . checkPeerToken ( with: discoveryInfo) {
54+ if RealityViewController . checkPeerToken ( with: discoveryInfo) {
5555 return true
5656 }
5757 print ( " incompatible peer! " )
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ extension MultipeerHelperDelegate {
5959 /// picked up by a browser.
6060 /// - Returns: Boolean representing whether or not the two devices
6161 /// have compatible versions of RealityKit.
62- public func checkPeerToken( with discoveryInfo: [ String : String ] ? ) -> Bool {
62+ public static func checkPeerToken( with discoveryInfo: [ String : String ] ? ) -> Bool {
6363 guard let compTokenStr = discoveryInfo ? [ " compatibility_token " ]
6464 else {
6565 return false
You can’t perform that action at this time.
0 commit comments