Skip to content

Commit

Permalink
Remove unused value
Browse files Browse the repository at this point in the history
  • Loading branch information
dus7 committed Apr 17, 2024
1 parent 2d82935 commit 2dda32c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DuckDuckGo/MainViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2245,7 +2245,7 @@ extension MainViewController: TabSwitcherButtonDelegate {
}

func showTabSwitcher() {
guard let currentTab = currentTab ?? tabManager.current(createIfNeeded: true) else {
guard currentTab ?? tabManager.current(createIfNeeded: true) != nil else {
fatalError("Unable to get current tab")
}

Expand Down

0 comments on commit 2dda32c

Please sign in to comment.