ソースを参照

Merge pull request #20 from c0h1b4/hot-fix

fixed override onMethodCall to adhere interface
flutter-beta
juliuscanute 7年前
committed by GitHub
コミット
0812d48d05
この署名に対応する既知のキーがデータベースに存在しません 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){ when(call?.method){
"checkAndRequestPermission" -> { "checkAndRequestPermission" -> {
checkAndRequestPermission(result) checkAndRequestPermission(result)


読み込み中…
キャンセル
保存