Skip to content

Commit c0e6a1d

Browse files
committed
Remove redundant guard in handleAutoTranslatePrompt
1 parent 055b5a8 commit c0e6a1d

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

firefox-ios/Client/Frontend/Browser/BrowserViewController/Views/BrowserViewController.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2151,7 +2151,6 @@ class BrowserViewController: UIViewController,
21512151
if state.autoTranslatePromptState.showPrompt {
21522152
showAutoTranslatePrompt()
21532153
} else {
2154-
guard autoTranslatePrompt != nil else { return }
21552154
removeAutoTranslatePrompt()
21562155
}
21572156
}

0 commit comments

Comments
 (0)