From 158f7f8353c9f1358043d808be4e1bfd434b8cc2 Mon Sep 17 00:00:00 2001 From: Joseph Pender Date: Tue, 14 Nov 2023 16:40:26 -0600 Subject: [PATCH] fmt --- .../localnotifications/LocalNotificationsPlugin.java | 6 +++++- .../ios/PluginTests/LocalNotificationsPluginTests.swift | 9 --------- local-notifications/src/definitions.ts | 2 +- 3 files changed, 6 insertions(+), 11 deletions(-) diff --git a/local-notifications/android/src/main/java/com/capacitorjs/plugins/localnotifications/LocalNotificationsPlugin.java b/local-notifications/android/src/main/java/com/capacitorjs/plugins/localnotifications/LocalNotificationsPlugin.java index faa23a910..6bdd2c0e6 100644 --- a/local-notifications/android/src/main/java/com/capacitorjs/plugins/localnotifications/LocalNotificationsPlugin.java +++ b/local-notifications/android/src/main/java/com/capacitorjs/plugins/localnotifications/LocalNotificationsPlugin.java @@ -230,7 +230,11 @@ public void requestPermissions(PluginCall call) { @PluginMethod public void changeExactNotificationSetting(PluginCall call) { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) { - startActivityForResult(call, new Intent(ACTION_REQUEST_SCHEDULE_EXACT_ALARM, Uri.parse("package:" + getActivity().getPackageName())), "alarmPermissionsCallback"); + startActivityForResult( + call, + new Intent(ACTION_REQUEST_SCHEDULE_EXACT_ALARM, Uri.parse("package:" + getActivity().getPackageName())), + "alarmPermissionsCallback" + ); } else { checkExactNotificationSetting(call); } diff --git a/local-notifications/ios/PluginTests/LocalNotificationsPluginTests.swift b/local-notifications/ios/PluginTests/LocalNotificationsPluginTests.swift index 8eec98b1a..a3cf7de42 100644 --- a/local-notifications/ios/PluginTests/LocalNotificationsPluginTests.swift +++ b/local-notifications/ios/PluginTests/LocalNotificationsPluginTests.swift @@ -2,13 +2,4 @@ import XCTest @testable import Plugin class LocalNotificationsTests: XCTestCase { - override func setUp() { - super.setUp() - // Put setup code here. This method is called before the invocation of each test method in the class. - } - - override func tearDown() { - // Put teardown code here. This method is called after the invocation of each test method in the class. - super.tearDown() - } } diff --git a/local-notifications/src/definitions.ts b/local-notifications/src/definitions.ts index 2076dfb63..269661e75 100644 --- a/local-notifications/src/definitions.ts +++ b/local-notifications/src/definitions.ts @@ -157,7 +157,7 @@ export interface LocalNotificationsPlugin { /** * Direct user to the application settings screen to configure exact alarms. - * + * * In the event that a user changes the settings from granted to denied, the application * will restart and any notification scheduled with an exact alarm will be deleted. *