Skip to content

Commit

Permalink
Lint UINotificationRequest.init
Browse files Browse the repository at this point in the history
  • Loading branch information
raphkoebraam committed Aug 6, 2024
1 parent d89b532 commit 0afa0a0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Sources/UINotificationRequest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,12 @@ public final class UINotificationRequest: Equatable, @unchecked Sendable {
/// since the delegate will always exist since it's the `UINotificationQueue`.
private let delegate: UINotificationRequestDelegate

internal init(notification: UINotification, delegate: UINotificationRequestDelegate, notificationViewType: UINotificationView.Type, dismissTrigger: UINotificationDismissTrigger? = nil) {
internal init(
notification: UINotification,
delegate: UINotificationRequestDelegate,
notificationViewType: UINotificationView.Type,
dismissTrigger: UINotificationDismissTrigger? = nil
) {
self.notification = notification
self.delegate = delegate
self.notificationViewType = notificationViewType
Expand Down

0 comments on commit 0afa0a0

Please sign in to comment.