Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Fixed pull request comments with unwrap mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
soner-yuksel committed Jan 26, 2024
1 parent 5b54bc4 commit be19fef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions App/ActionExtension/ActionToBraveViewController.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 The Brave Authors. All rights reserved.
// Copyright 2024 The Brave Authors. All rights reserved.
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
Expand Down Expand Up @@ -37,7 +37,7 @@ class ActionToBraveViewController: UIViewController {

func done() {
// Return any edited content to the host app, in this case empty
extensionContext!.completeRequest(returningItems: [], completionHandler: nil)
extensionContext?.completeRequest(returningItems: [], completionHandler: nil)
}

private func loadAttachmentFor(type: SchemeType, using provider: NSItemProvider) {
Expand Down

0 comments on commit be19fef

Please sign in to comment.