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

Commit bec64d3

Browse files
remove FLUTTER_EXPORT
1 parent 8894ccb commit bec64d3

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
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;

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,9 @@ static UIReturnKeyType ToUIReturnKeyType(NSString* inputType) {
8989
}
9090

9191
static 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, *)) {

0 commit comments

Comments
 (0)