This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
shell/platform/darwin/ios/framework/Source Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 1010#include " flutter/shell/platform/darwin/common/framework/Headers/FlutterChannels.h"
1111#include " flutter/shell/platform/darwin/ios/framework/Source/FlutterTextInputDelegate.h"
1212
13- #if FLUTTER_RUNTIME_MODE == FLUTTER_RUNTIME_MODE_DEBUG
14- FLUTTER_EXPORT
15- #endif
1613@interface FlutterTextInputPlugin : NSObject
1714
1815@property (nonatomic , assign ) id <FlutterTextInputDelegate> textInputDelegate;
@@ -39,9 +36,6 @@ FLUTTER_EXPORT
3936@end
4037
4138/* * A range of text in the buffer of a Flutter text editing widget. */
42- #if FLUTTER_RUNTIME_MODE == FLUTTER_RUNTIME_MODE_DEBUG
43- FLUTTER_EXPORT
44- #endif
4539@interface FlutterTextRange : UITextRange <NSCopying >
4640
4741@property (nonatomic , readonly ) NSRange range;
Original file line number Diff line number Diff line change @@ -89,8 +89,9 @@ static UIReturnKeyType ToUIReturnKeyType(NSString* inputType) {
8989}
9090
9191static UITextContentType ToUITextContentType (NSArray <NSString *>* hints) {
92- if (hints == nil || hints.count == 0 )
92+ if (hints == nil || hints.count == 0 ) {
9393 return @" " ;
94+ }
9495
9596 NSString * hint = hints[0 ];
9697 if (@available (iOS 10.0 , *)) {
You can’t perform that action at this time.
0 commit comments