We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 852e56f commit 6a47112Copy full SHA for 6a47112
1 file changed
ios/Classes/ScreenshotDetectorPlugin.swift
@@ -14,7 +14,7 @@ public class ScreenshotDetectorPlugin: NSObject, FlutterPlugin, FlutterStreamHan
14
}
15
16
public func handle(_ call: FlutterMethodCall, result: @escaping FlutterResult) {
17
- if call.method == "cancelStream" {
+ if call.method == "dispose" {
18
onCancel(withArguments: nil)
19
result(nil)
20
} else {
0 commit comments