Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
theproducer committed Nov 14, 2023
1 parent 7e9b537 commit 158f7f8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}
2 changes: 1 addition & 1 deletion local-notifications/src/definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit 158f7f8

Please sign in to comment.