Commit cc99045f by patpat

WifiAction更换为kotlin

parent f5ab7f80
......@@ -153,7 +153,7 @@ public class QRCodeTask {
JSONObject data = json.optJSONObject("data");
if (action.startsWith(ActionEnum.CONFIG_.name())) {
if (action.equals(ActionEnum.CONFIG_WIFI.name())) {
WifiAction.getDefault().exec(data);
WifiAction.Companion.getDefault().exec(data);
} else if (action.equals(ActionEnum.CONFIG_LOG.name())) {
EventBus.getDefault().post(new LogEvent());
}
......
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 sign in to comment