Przeglądaj źródła

Merge pull request #20 from c0h1b4/hot-fix

fixed override onMethodCall to adhere interface
flutter-beta
juliuscanute 7 lat temu
committed by GitHub
rodzic
commit
0812d48d05
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć
  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 Wyświetl plik

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


Ładowanie…
Anuluj
Zapisz