Skip to content

Commit 9c71b17

Browse files
authored
Merge pull request #11 from holzgeist/fix-ios-build
fix: build on ios
2 parents fa2e5fd + e21f472 commit 9c71b17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/Classes/SwiftProximitySensorPlugin.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public class SwiftProximitySensorPlugin: NSObject, FlutterPlugin
5151
let methodChannel = FlutterMethodChannel(name: "proximity_sensor_enable", binaryMessenger: registrar.messenger())
5252

5353
let instance = SwiftProximitySensorPlugin()
54-
registrar.addMethodCallDelegate(instance, channel: channel)
54+
registrar.addMethodCallDelegate(instance, channel: methodChannel)
5555
}
5656

5757
public func handle(_ call: FlutterMethodCall, result: @escaping FlutterResult) {

0 commit comments

Comments
 (0)