Преглед изворни кода

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 Key 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)


Loading…
Откажи
Сачувај