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

Commit c7859f9

Browse files
license
1 parent 26c62ee commit c7859f9

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

ci/licenses_golden/licenses_flutter

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2535,6 +2535,8 @@ FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/FlutterSemanti
25352535
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/FlutterSpellCheckPlugin.h
25362536
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/FlutterSpellCheckPlugin.mm
25372537
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/FlutterSpellCheckPluginTest.mm
2538+
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/FlutterTextInputClient.h
2539+
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/FlutterTextInputClient_UITextInput.mm
25382540
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/FlutterTextInputDelegate.h
25392541
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/FlutterTextInputPlugin.h
25402542
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/FlutterTextInputPlugin.mm

shell/platform/darwin/ios/framework/Source/FlutterTextInputPlugin.mm

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949

5050
// TextInputConfiguration.autofill and sub-field names
5151
static NSString* const kAutofillProperties = @"autofill";
52-
static NSString* const kautofillID = @"uniqueIdentifier";
52+
static NSString* const kAutofillID = @"uniqueIdentifier";
5353
static NSString* const kAutofillEditingValue = @"editingValue";
5454
static NSString* const kAutofillHints = @"hints";
5555

@@ -284,7 +284,7 @@ static UITextContentType ToUITextContentType(NSArray<NSString*>* hints) {
284284
static NSString* AutofillIDFromDictionary(NSDictionary* dictionary) {
285285
NSDictionary* autofill = dictionary[kAutofillProperties];
286286
if (autofill) {
287-
return autofill[kautofillID];
287+
return autofill[kAutofillID];
288288
}
289289

290290
// When autofill is nil, the field may still need an autofill id
@@ -581,7 +581,7 @@ @implementation FlutterTextPlaceholder
581581

582582
@end
583583

584-
void configureInputClientWithDictionary(UIView<FlutterTextInputClient>* client,
584+
static void ConfigureInputClientWithDictionary(UIView<FlutterTextInputClient>* client,
585585
NSDictionary* configuration) {
586586
NSDictionary* inputType = configuration[kKeyboardType];
587587
NSString* keyboardAppearance = configuration[kKeyboardAppearance];
@@ -935,7 +935,7 @@ - (void)setTextInputClient:(int)client withConfiguration:(NSDictionary*)configur
935935
[_autofillContext removeObjectForKey:autofillID];
936936
}
937937
UIView<FlutterTextInputClient>* newView = [[RegularInputClient alloc] initWithOwner:self];
938-
configureInputClientWithDictionary(newView, configuration);
938+
ConfigureInputClientWithDictionary(newView, configuration);
939939
[self addToInputParentViewIfNeeded:newView];
940940

941941
for (NSDictionary* field in configuration[kAssociatedAutofillFields]) {
@@ -1004,7 +1004,7 @@ - (void)setTextInputClient:(int)client withConfiguration:(NSDictionary*)configur
10041004
[self addToInputParentViewIfNeeded:inputView];
10051005
}
10061006

1007-
configureInputClientWithDictionary(inputView, field);
1007+
ConfigureInputClientWithDictionary(inputView, field);
10081008
return inputView;
10091009
}
10101010

0 commit comments

Comments
 (0)