diff --git a/flutter/shell/platform/tizen/channels/text_input_channel.cc b/flutter/shell/platform/tizen/channels/text_input_channel.cc index 6a69101..7e2b343 100644 --- a/flutter/shell/platform/tizen/channels/text_input_channel.cc +++ b/flutter/shell/platform/tizen/channels/text_input_channel.cc @@ -162,6 +162,7 @@ void TextInputChannel::HandleMethodCall( if (client_config.IsNull()) { result->Error(kBadArgumentError, "Could not set client, missing arguments."); + return; } client_id_ = client_id_json.GetInt(); @@ -257,7 +258,7 @@ void TextInputChannel::HandleMethodCall( TextRange(selection_base_value, selection_extent_value)); auto composing_base = args.FindMember(kComposingBaseKey); - auto composing_extent = args.FindMember(kComposingBaseKey); + auto composing_extent = args.FindMember(kComposingExtentKey); int composing_base_value = composing_base != args.MemberEnd() ? composing_base->value.GetInt() : -1;