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

Commit 3091c86

Browse files
committed
Fixed a few formating issues
1 parent 86cf0e0 commit 3091c86

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ - (void)setEditableTransform:(NSArray*)matrix;
772772
@end
773773

774774
@implementation FlutterTextInputView {
775-
// int _textInputClient;
775+
int _textInputClient;
776776
const char* _selectionAffinity;
777777
FlutterTextRange* _selectedTextRange;
778778
UIInputViewController* _inputViewController;
@@ -2328,9 +2328,9 @@ - (void)hideKeyboardWithoutAnimation {
23282328
}
23292329

23302330
- (void)takeScreenshot {
2331-
UIView* keyboardSnap = [[UIScreen mainScreen] snapshotViewAfterScreenUpdates:true];
2331+
UIView* keyboardSnap = [[UIScreen mainScreen] snapshotViewAfterScreenUpdates:YES];
23322332
keyboardSnap = [keyboardSnap resizableSnapshotViewFromRect:_keyboardRect
2333-
afterScreenUpdates:true
2333+
afterScreenUpdates:YES
23342334
withCapInsets:UIEdgeInsetsZero];
23352335
[_keyboardViewContainer addSubview:keyboardSnap];
23362336
if (_keyboardViewContainer.superview == nil) {
@@ -2499,7 +2499,7 @@ - (void)setTextInputClient:(int)client withConfiguration:(NSDictionary*)configur
24992499
// Creates and shows an input field that is not password related and has no autofill
25002500
// info. This method returns a new FlutterTextInputView instance when called, since
25012501
// UIKit uses the identity of `UITextInput` instances (or the identity of the input
2502-
// views) to decide whether the 's internal states should be reset. See:
2502+
// views) to decide whether the IME's internal states should be reset. See:
25032503
// https://github.com/flutter/flutter/issues/79031 .
25042504
- (FlutterTextInputView*)createInputViewWith:(NSDictionary*)configuration {
25052505
NSString* autofillId = AutofillIdFromDictionary(configuration);

0 commit comments

Comments
 (0)