Skip to content

Commit b8468f5

Browse files
AnkaAnka
authored andcommitted
Clang Format
1 parent b9d6d9a commit b8468f5

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

flutter_local_notifications/ios/flutter_local_notifications/Sources/flutter_local_notifications/FlutterLocalNotificationsPlugin.m

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ @implementation FlutterLocalNotificationsPlugin {
2626
@"periodicallyShowWithDuration";
2727
NSString *const CANCEL_METHOD = @"cancel";
2828
NSString *const CANCEL_ALL_METHOD = @"cancelAll";
29-
NSString *const CANCEL_ALL_PENDING_NOTIFICATIONS_METHOD = @"cancelAllPendingNotifications";
29+
NSString *const CANCEL_ALL_PENDING_NOTIFICATIONS_METHOD =
30+
@"cancelAllPendingNotifications";
3031
NSString *const PENDING_NOTIFICATION_REQUESTS_METHOD =
3132
@"pendingNotificationRequests";
3233
NSString *const GET_ACTIVE_NOTIFICATIONS_METHOD = @"getActiveNotifications";
@@ -186,7 +187,8 @@ - (void)handleMethodCall:(FlutterMethodCall *)call
186187
[self cancel:((NSNumber *)call.arguments) result:result];
187188
} else if ([CANCEL_ALL_METHOD isEqualToString:call.method]) {
188189
[self cancelAll:result];
189-
} else if ([CANCEL_ALL_PENDING_NOTIFICATIONS_METHOD isEqualToString:call.method]) {
190+
} else if ([CANCEL_ALL_PENDING_NOTIFICATIONS_METHOD
191+
isEqualToString:call.method]) {
190192
[self cancelAllPendingNotifications:result];
191193
} else if ([GET_NOTIFICATION_APP_LAUNCH_DETAILS_METHOD
192194
isEqualToString:call.method]) {
@@ -579,8 +581,9 @@ - (void)cancelAll:(FlutterResult _Nonnull)result API_AVAILABLE(ios(10.0)) {
579581
result(nil);
580582
}
581583

582-
- (void)cancelAllPendingNotifications:(FlutterResult _Nonnull)result API_AVAILABLE(ios(10.0)) {
583-
UNUserNotificationCenter *center =
584+
- (void)cancelAllPendingNotifications:(FlutterResult _Nonnull)result
585+
API_AVAILABLE(ios(10.0)) {
586+
UNUserNotificationCenter *center =
584587
[UNUserNotificationCenter currentNotificationCenter];
585588
[center removeAllPendingNotificationRequests];
586589
result(nil);

0 commit comments

Comments
 (0)