Skip to content

Commit

Permalink
Add explicit self in closure
Browse files Browse the repository at this point in the history
  • Loading branch information
salimbraksa committed May 2, 2023
1 parent a58884f commit 89da278
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,9 @@ final class WebAddressWizardContent: CollapsableHeaderViewController {
updateNoResultsLabelTopInset()

coordinator.animate(alongsideTransition: nil) { [weak self] (_) in
guard let `self` = self else { return }
guard let self else { return }

if domainPurchasingEnabled {
if self.domainPurchasingEnabled {
if !self.siteTemplateHostingController.view.isHidden {
self.updateTitleViewVisibility(true)
}
Expand Down

0 comments on commit 89da278

Please sign in to comment.