From cef47f9dca85c849d5ddadf1135425f09fb24c2b Mon Sep 17 00:00:00 2001 From: Efra Espada Date: Fri, 8 Oct 2021 14:16:40 +0200 Subject: [PATCH] feature: fixed private method init --- .../kotlin/com/example/video_compress/VideoCompressPlugin.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/main/kotlin/com/example/video_compress/VideoCompressPlugin.kt b/android/src/main/kotlin/com/example/video_compress/VideoCompressPlugin.kt index d8f43de1..d99598d1 100644 --- a/android/src/main/kotlin/com/example/video_compress/VideoCompressPlugin.kt +++ b/android/src/main/kotlin/com/example/video_compress/VideoCompressPlugin.kt @@ -190,7 +190,7 @@ class VideoCompressPlugin : MethodCallHandler, FlutterPlugin { _channel = null } - private fun init(context: Context, messenger: BinaryMessenger) { + fun init(context: Context, messenger: BinaryMessenger) { val channel = MethodChannel(messenger, channelName) channel.setMethodCallHandler(this) _context = context