Commit 1e6f8219 authored by 林生雨's avatar 林生雨

comit

parent 306fdcfc
...@@ -36,12 +36,11 @@ class MainManager { ...@@ -36,12 +36,11 @@ class MainManager {
} }
void buriedEvent(String name, Map<String, dynamic> map) { void buriedEvent(String name, Map<String, dynamic> map) {
if (!isInit) {
return;
}
if (flutterChannel != null) { if (flutterChannel != null) {
flutterChannel.invokeMethod("buried-${name}", map); flutterChannel.invokeMethod("buried-${name}", map);
} else {
if (isDebug) {
throw Exception("wrong");
}
} }
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment