@@ -772,7 +772,7 @@ - (void)setEditableTransform:(NSArray*)matrix;
772
772
@end
773
773
774
774
@implementation FlutterTextInputView {
775
- // int _textInputClient;
775
+ int _textInputClient;
776
776
const char * _selectionAffinity;
777
777
FlutterTextRange* _selectedTextRange;
778
778
UIInputViewController* _inputViewController;
@@ -2328,9 +2328,9 @@ - (void)hideKeyboardWithoutAnimation {
2328
2328
}
2329
2329
2330
2330
- (void )takeScreenshot {
2331
- UIView* keyboardSnap = [[UIScreen mainScreen ] snapshotViewAfterScreenUpdates: true ];
2331
+ UIView* keyboardSnap = [[UIScreen mainScreen ] snapshotViewAfterScreenUpdates: YES ];
2332
2332
keyboardSnap = [keyboardSnap resizableSnapshotViewFromRect: _keyboardRect
2333
- afterScreenUpdates: true
2333
+ afterScreenUpdates: YES
2334
2334
withCapInsets: UIEdgeInsetsZero];
2335
2335
[_keyboardViewContainer addSubview: keyboardSnap];
2336
2336
if (_keyboardViewContainer.superview == nil ) {
@@ -2499,7 +2499,7 @@ - (void)setTextInputClient:(int)client withConfiguration:(NSDictionary*)configur
2499
2499
// Creates and shows an input field that is not password related and has no autofill
2500
2500
// info. This method returns a new FlutterTextInputView instance when called, since
2501
2501
// 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:
2503
2503
// https://github.com/flutter/flutter/issues/79031 .
2504
2504
- (FlutterTextInputView*)createInputViewWith : (NSDictionary *)configuration {
2505
2505
NSString * autofillId = AutofillIdFromDictionary (configuration);
0 commit comments