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

Commit c5727b0

Browse files
committed
Comment fixes
1 parent d35a916 commit c5727b0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/ui/platform_dispatcher.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1753,7 +1753,7 @@ enum AppExitResponse {
17531753
// https://github.com/flutter/flutter/issues/121721
17541754
enum AppExitType {
17551755
/// Requests that the application start an orderly exit, sending a request
1756-
/// back to the framework through the [WidgetsBinding], and if that responds
1756+
/// back to the framework through the [WidgetsBinding]. If that responds
17571757
/// with [AppExitResponse.exit], then proceed with the same steps as a
17581758
/// [required] exit. If that responds with [AppExitResponse.cancel], then the
17591759
/// exit request is canceled and the application continues executing normally.

shell/platform/darwin/macos/framework/Source/FlutterApplication.mm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// Flutter features, like application lifecycle handling.
1515
@implementation FlutterApplication
1616

17-
// Initialize NSApplication using the custom subclass. Check whether NSApp was
17+
// Initialize NSApplication using the custom subclass. Check whether NSApp was
1818
// already initialized using another class, because that would break some
1919
// things. Warn about the mismatch only once, and only in debug builds.
2020
+ (NSApplication*)sharedApplication {
@@ -47,7 +47,7 @@ + (NSApplication*)sharedApplication {
4747
// and shutdown.
4848
//
4949
// We override the normal |terminate| implementation. Our implementation, which
50-
// is specific to the asyncronous nature of Flutter, works by asking the
50+
// is specific to the asynchronous nature of Flutter, works by asking the
5151
// application delegate to terminate using its |requestApplicationTermination|
5252
// method instead of going through |applicationShouldTerminate|.
5353
//
@@ -77,7 +77,7 @@ - (void)terminate:(id)sender {
7777
exitType:kFlutterAppExitTypeCancelable
7878
result:nil];
7979
// Return, don't exit. The application delegate is responsible for exiting on
80-
// its own by calling |-terminateApplication|.
80+
// its own by calling |terminateApplication|.
8181
}
8282

8383
// Starts the regular Cocoa application termination flow, so that plugins will

0 commit comments

Comments
 (0)