|
49 | 49 |
|
50 | 50 | // TextInputConfiguration.autofill and sub-field names
|
51 | 51 | static NSString* const kAutofillProperties = @"autofill";
|
52 |
| -static NSString* const kautofillID = @"uniqueIdentifier"; |
| 52 | +static NSString* const kAutofillID = @"uniqueIdentifier"; |
53 | 53 | static NSString* const kAutofillEditingValue = @"editingValue";
|
54 | 54 | static NSString* const kAutofillHints = @"hints";
|
55 | 55 |
|
@@ -284,7 +284,7 @@ static UITextContentType ToUITextContentType(NSArray<NSString*>* hints) {
|
284 | 284 | static NSString* AutofillIDFromDictionary(NSDictionary* dictionary) {
|
285 | 285 | NSDictionary* autofill = dictionary[kAutofillProperties];
|
286 | 286 | if (autofill) {
|
287 |
| - return autofill[kautofillID]; |
| 287 | + return autofill[kAutofillID]; |
288 | 288 | }
|
289 | 289 |
|
290 | 290 | // When autofill is nil, the field may still need an autofill id
|
@@ -581,7 +581,7 @@ @implementation FlutterTextPlaceholder
|
581 | 581 |
|
582 | 582 | @end
|
583 | 583 |
|
584 |
| -void configureInputClientWithDictionary(UIView<FlutterTextInputClient>* client, |
| 584 | +static void ConfigureInputClientWithDictionary(UIView<FlutterTextInputClient>* client, |
585 | 585 | NSDictionary* configuration) {
|
586 | 586 | NSDictionary* inputType = configuration[kKeyboardType];
|
587 | 587 | NSString* keyboardAppearance = configuration[kKeyboardAppearance];
|
@@ -935,7 +935,7 @@ - (void)setTextInputClient:(int)client withConfiguration:(NSDictionary*)configur
|
935 | 935 | [_autofillContext removeObjectForKey:autofillID];
|
936 | 936 | }
|
937 | 937 | UIView<FlutterTextInputClient>* newView = [[RegularInputClient alloc] initWithOwner:self];
|
938 |
| - configureInputClientWithDictionary(newView, configuration); |
| 938 | + ConfigureInputClientWithDictionary(newView, configuration); |
939 | 939 | [self addToInputParentViewIfNeeded:newView];
|
940 | 940 |
|
941 | 941 | for (NSDictionary* field in configuration[kAssociatedAutofillFields]) {
|
@@ -1004,7 +1004,7 @@ - (void)setTextInputClient:(int)client withConfiguration:(NSDictionary*)configur
|
1004 | 1004 | [self addToInputParentViewIfNeeded:inputView];
|
1005 | 1005 | }
|
1006 | 1006 |
|
1007 |
| - configureInputClientWithDictionary(inputView, field); |
| 1007 | + ConfigureInputClientWithDictionary(inputView, field); |
1008 | 1008 | return inputView;
|
1009 | 1009 | }
|
1010 | 1010 |
|
|
0 commit comments