Skip to content

Commit

Permalink
Merge pull request #409 from tripphillips/tp-1
Browse files Browse the repository at this point in the history
Remove AirshipPush.authorizedNotificationSettings MainActor isolation
  • Loading branch information
rlepinski committed Jul 24, 2024
2 parents 8392353 + ff6d530 commit f5beff1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion Airship/AirshipCore/Source/Push.swift
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,6 @@ final class AirshipPush: NSObject, AirshipPushProtocol, @unchecked Sendable {
#endif

@objc
@MainActor
public private(set) var authorizedNotificationSettings: UAAuthorizedNotificationSettings {
set {
self.dataStore.setInteger(
Expand Down
1 change: 0 additions & 1 deletion Airship/AirshipCore/Tests/PushTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,6 @@ class PushTest: XCTestCase {
XCTAssertEqual(0, self.badger.applicationIconBadgeNumber)
}

@MainActor
func testActiveChecksRegistration() async {
self.notificationRegistrar.onCheckStatus = {
return (.authorized, [.alert])
Expand Down

0 comments on commit f5beff1

Please sign in to comment.