Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: transparent background on connect for iPad - WPB-12041 #2140

Open
wants to merge 11 commits into
base: develop
Choose a base branch
from

Conversation

netbe
Copy link
Collaborator

@netbe netbe commented Nov 8, 2024

BugWPB-12041 [iOS] Transparent background on the invite screen

Issue

  • fix background
  • fix navigation flow on connect when accessing to contacts or asking for share permissions
  • replace ZClientController.shared?.present with instance method presentOverAll() to avoid access to deprecated shared instance

Testing

  • login on iPad with personal account

  • tap connect

  • tap invite

  • check also flows on iPhone

@echoes-hq echoes-hq bot added the echoes: product-roadmap Work aligned with the customer-announced roadmap, targeting a specific release date. label Nov 8, 2024
@netbe netbe requested review from a team, agisilaos, johnxnguyen and jullianm and removed request for a team November 8, 2024 07:25
@@ -38,7 +38,21 @@ extension StartUIViewController {
extension StartUIViewController: ShareContactsViewControllerDelegate {

func shareContactsViewControllerDidFinish(_ viewController: ShareContactsViewController) {
viewController.dismiss(animated: true)
guard !needsAddressBookPermission else {
// do nothing just dismiss
Copy link
Contributor

Choose a reason for hiding this comment

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

Just to check I assume this is being dismissed by something else in this case

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this guard else never happens, removed


// On iPad, add an estimated accessory height if applicable
if traitCollection.userInterfaceIdiom == .pad {
keyboardHeight += 44 // Approximate height of an input accessory view
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm pretty sure there must be a way to do this without resorting to an estimate which may break. Have you looked into this much?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

good point, but I haven't found any way to get it so far

Copy link
Contributor

Test Results

1 794 tests   1 788 ✅  2m 37s ⏱️
  290 suites      0 💤
    1 files        6 ❌

For more details on these failures, see this check.

Results for commit 8816f3f.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
echoes: product-roadmap Work aligned with the customer-announced roadmap, targeting a specific release date.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants