Try to Fix

This commit is contained in:
2024-01-22 20:55:11 +08:00
parent 59b8452b71
commit 24fe2c751c

View File

@@ -198,7 +198,7 @@ bool FlutterWindow::OnCreate() {
return;
}
result->Success(num);
} else if (call.method() == "readFile") {
} else if (call.method_name() == "readFile") {
auto args = std::get_if<flutter::EncodableList>(call.arguments());
auto fd = std::get_if<int>(&args->at(0));
auto maxlen = std::get_if<int>(&args->at(1));