Ver a proveniência

fixed override onMethodCall to adhere interface

flutter-beta
Mauro Widman há 7 anos
ascendente
cometimento
ffb8d6c1f3
1 ficheiros alterados com 1 adições e 1 eliminações
  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 Ver ficheiro

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


Carregando…
Cancelar
Guardar