Skip to content

Conversation

@TimNowaczynski
Copy link

@TimNowaczynski TimNowaczynski commented Jan 22, 2026

MOB-3548: Default Browser modal UI is broken on iPad

This is how it now looks like on iPad and iPhone:

MOB-3548_pad
MOB-3548_phone

MOB-3548: fix vertical spacing for iPad DefaultBrowserDialog
Copilot AI review requested due to automatic review settings January 22, 2026 14:44
@TimNowaczynski TimNowaczynski requested a review from a team January 22, 2026 14:45
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a vertical spacing issue in the Default Browser Dialog that was causing UI problems on iPad. The fix ensures proper spacing is maintained between UI elements by removing a low-priority constraint modifier.

Changes:

  • Removed .priority(.defaultLow) from the actionButton's top anchor constraint to make spacing between triviaView and actionButton a required constraint

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

triviaView.trailingAnchor.constraint(equalTo: titleLabel.trailingAnchor),

actionButton.topAnchor.constraint(equalTo: triviaView.bottomAnchor, constant: .ecosia.space._1l).priority(.defaultLow),
actionButton.topAnchor.constraint(equalTo: triviaView.bottomAnchor, constant: .ecosia.space._1l),
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can somebody tell why we added a .priority(...) here in the first place?

@TimNowaczynski
Copy link
Author

I just noticed what I broke now. Will fix this tomorrow :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants