Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@sbaranov
Copy link
Contributor

@sbaranov sbaranov commented Mar 22, 2018

@Hixie
Copy link
Contributor

Hixie commented Mar 23, 2018

Assuming the Java and ObjC code is syntactically correct, LGTM.

Can you think of a way we could test this?

@xster
Copy link
Member

xster commented Mar 23, 2018

LGTM

static const char _kTextAffinityUpstream[] = "TextAffinity.upstream";

static UIKeyboardType ToUIKeyboardType(NSString* inputType) {
static UIKeyboardType ToUIKeyboardType(NSDictionary* type) {
Copy link
Member

@cbracken cbracken Mar 23, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optional - here and above: Maybe slightly cleaner to break out (NSString *inputType, BOOL signed)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Refactored a bit. But can't dereference bool earlier since it could be null here.

@cbracken
Copy link
Member

lgtm

@sbaranov sbaranov merged commit 7fa08b3 into flutter:master Mar 26, 2018
@sbaranov sbaranov deleted the numeric-keyboard branch March 26, 2018 20:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants