Skip to content

Commit

Permalink
Update SiteNameView, add description to updateContinueButton() method
Browse files Browse the repository at this point in the history
  • Loading branch information
Giorgio Ruscigno committed Apr 6, 2022
1 parent 82eed38 commit a3f1489
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ private extension SiteNameView {
constant: Metrics.continueButtonStandardPadding)
}

/// Updates the constraints of the Continue button on iPad, so that the button and the search text field are at the same width
func updateContinueButton() {
guard UIDevice.isPad(), let windowWidth = UIApplication.shared.mainWindow?.frame.width else {
return
Expand Down

0 comments on commit a3f1489

Please sign in to comment.