Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix missing spinner on BackerDashboardProjectsViewController #2044

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

amy-at-kickstarter
Copy link
Contributor

📲 What

Fix a missing loading spinner on BackerDashboardProjectsViewController.

🤔 Why

I noticed this while fixing other bugs - the spinner was frequently missing, and it made the loading feel much slower than it effectively was.

🛠 How

  • Change viewWillAppear to viewDidAppear to fix a warning about using the refresh controller while off screen
  • Add extra endRefreshing() call to viewDidDisappear, per a suggestion from StackOverflow. Seems like the refresh controller is strangely sensitive to view lifecycle methods, and this fixes the problem.

@amy-at-kickstarter amy-at-kickstarter requested review from a team and scottkicks and removed request for a team April 23, 2024 12:44
@amy-at-kickstarter amy-at-kickstarter self-assigned this Apr 23, 2024
@amy-at-kickstarter amy-at-kickstarter marked this pull request as ready for review April 23, 2024 12:44
Copy link
Contributor

@scottkicks scottkicks left a comment

Choose a reason for hiding this comment

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

Noice

@amy-at-kickstarter amy-at-kickstarter merged commit f12f9de into main Apr 23, 2024
4 checks passed
@amy-at-kickstarter amy-at-kickstarter deleted the bug/adyer/fix-spinner-on-dashboard branch April 23, 2024 18:17
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants