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

Commit b2654c3

Browse files
committed
Mark const extern
1 parent d71bfe5 commit b2654c3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

shell/platform/darwin/ios/framework/Headers/FlutterViewController.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* The object passed as the sender is the `FlutterViewController` associated
2424
* with the update.
2525
*/
26-
const NSNotificationName FlutterSemanticsUpdateNotification = @"FlutterSemanticsUpdate";
26+
extern NSNotificationName const FlutterSemanticsUpdateNotification;
2727

2828
/**
2929
* A `UIViewController` implementation for Flutter views.

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
#include "flutter/shell/platform/darwin/ios/framework/Source/platform_message_response_darwin.h"
2323
#include "flutter/shell/platform/darwin/ios/platform_view_ios.h"
2424

25+
NSNotificationName const FlutterSemanticsUpdateNotification = @"FlutterSemanticsUpdate";
26+
2527
@implementation FlutterViewController {
2628
std::unique_ptr<fml::WeakPtrFactory<FlutterViewController>> _weakFactory;
2729
fml::scoped_nsobject<FlutterEngine> _engine;

0 commit comments

Comments
 (0)