Skip to content

Commit

Permalink
Merge branch 'develop' into release/this-is-a-test
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Guretzki committed Nov 8, 2024
2 parents 6a802e7 + 0441660 commit 55d513c
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,7 @@ extension VoucherComponent: VoucherViewDelegate, DocumentActionViewDelegate {
].compactMap { $0 }
}

private func createSaveAlertAction(for action: VoucherAction, sourceView: UIView) -> UIAlertAction? {
guard canAddPasses(action: action.anyAction) else { return nil }

private func createSaveAlertAction(for action: VoucherAction, sourceView: UIView) -> UIAlertAction {
if let downloadable = action.anyAction as? Downloadable {
return createDownloadPDFAlertAction(for: downloadable.downloadUrl, sourceView: sourceView)
} else {
Expand Down

0 comments on commit 55d513c

Please sign in to comment.