소스 검색

Merge pull request #20 from c0h1b4/hot-fix

fixed override onMethodCall to adhere interface
flutter-beta
juliuscanute 7 년 전
committed by GitHub
부모
커밋
0812d48d05
No known key found for this signature in database GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      android/src/main/kotlin/net/touchcapture/qr/flutterqr/QRView.kt

+ 1
- 1
android/src/main/kotlin/net/touchcapture/qr/flutterqr/QRView.kt 파일 보기

@@ -136,7 +136,7 @@ class QRView(private val registrar: PluginRegistry.Registrar, id: Int) :
}


override fun onMethodCall(call: MethodCall?, result: MethodChannel.Result?) {
override fun onMethodCall(call: MethodCall, result: MethodChannel.Result) {
when(call?.method){
"checkAndRequestPermission" -> {
checkAndRequestPermission(result)


불러오는 중...
취소
저장