Skip to content

Commit

Permalink
Tidy up whitespace in the diff.
Browse files Browse the repository at this point in the history
  • Loading branch information
samsymons committed Nov 16, 2023
1 parent fca95b7 commit 3e1e148
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion DuckDuckGo/MacWaitlistViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ extension MacWaitlistViewController: WaitlistViewModelDelegate {
navigationController?.pushViewController(windowsWaitlistViewController, animated: true)
}
}

}

private final class MacWaitlistLinkMetadata: NSObject, UIActivityItemSource {
Expand Down
1 change: 0 additions & 1 deletion DuckDuckGo/WindowsWaitlistViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ extension WindowsWaitlistViewController: WaitlistViewModelDelegate {
navigationController?.pushViewController(macWaitlistViewController, animated: true)
}
}

}

private final class WindowsWaitlistLinkMetadata: NSObject, UIActivityItemSource {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public protocol WaitlistViewModelDelegate: AnyObject {
func waitlistViewModelDidJoinQueueWithNotificationsAllowed(_ viewModel: WaitlistViewModel)
func waitlistViewModelDidOpenInviteCodeShareSheet(_ viewModel: WaitlistViewModel, inviteCode: String, senderFrame: CGRect)
func waitlistViewModelDidOpenDownloadURLShareSheet(_ viewModel: WaitlistViewModel, senderFrame: CGRect)

func waitlistViewModel(_ viewModel: WaitlistViewModel, didTriggerCustomAction action: WaitlistViewModel.ViewCustomAction)
}

Expand Down Expand Up @@ -97,7 +98,6 @@ public final class WaitlistViewModel: ObservableObject {
guard viewState != .waitlistRemoved else {
return
}

if waitlistStorage.getWaitlistTimestamp() != nil, waitlistStorage.getWaitlistInviteCode() == nil {
await checkNotificationPermissions()
} else if let inviteCode = waitlistStorage.getWaitlistInviteCode() {
Expand Down

0 comments on commit 3e1e148

Please sign in to comment.