Skip to content

Commit

Permalink
Adapt semantics event handling to framework changes (flutter#4066)
Browse files Browse the repository at this point in the history
  • Loading branch information
goderbauer authored Sep 5, 2017
1 parent befe2da commit ceb6d05
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,7 @@ public void onMessage(Object message, BasicMessageChannel.Reply<Object> reply) {
final JSONObject annotatedEvent = (JSONObject)message;
try {
final int nodeId = annotatedEvent.getInt("nodeId");
final JSONObject event = annotatedEvent.getJSONObject("data");
final String type = event.getString("type");
final String type = annotatedEvent.getString("type");

switch (type) {
case "scroll":
Expand Down

0 comments on commit ceb6d05

Please sign in to comment.