We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa2e5fd commit e21f472Copy full SHA for e21f472
ios/Classes/SwiftProximitySensorPlugin.swift
@@ -51,7 +51,7 @@ public class SwiftProximitySensorPlugin: NSObject, FlutterPlugin
51
let methodChannel = FlutterMethodChannel(name: "proximity_sensor_enable", binaryMessenger: registrar.messenger())
52
53
let instance = SwiftProximitySensorPlugin()
54
- registrar.addMethodCallDelegate(instance, channel: channel)
+ registrar.addMethodCallDelegate(instance, channel: methodChannel)
55
}
56
57
public func handle(_ call: FlutterMethodCall, result: @escaping FlutterResult) {
0 commit comments