Skip to content

KM-11906: Fix crashes on automation settings - #186

Merged
kp-laura-sempere merged 3 commits into
masterfrom
KM-11906_fix_crashes_on_automation_settings
Sep 19, 2025
Merged

KM-11906: Fix crashes on automation settings#186
kp-laura-sempere merged 3 commits into
masterfrom
KM-11906_fix_crashes_on_automation_settings

Conversation

@kp-laura-sempere

@kp-laura-sempere kp-laura-sempere commented Sep 19, 2025

Copy link
Copy Markdown
Contributor

Summary

This PR fixes a couple of crashes that were happening when performing various actions on the "Manage Automation" settings screen.
The root cause:

  • Directly calling the collection view's data source methods to calculate the reference size of header and footer views, which deques views improperly.

This PR fixes/implements the following bugs/features

  • Bug 1
  • Bug 2
  • Feature 1
  • Feature 2
  • Breaking changes

Explain the motivation for making this change. What existing problem does the pull request solve?

Test plan (required)

Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI.

Code formatting

Closing issues

Fixes #

- The issue was in the referenceSize of the Heard and Footer methds on the
TrustedNeetworksViewController because these methods were directly calling the
collection view's data source methods, which dequues views improperly.
- The root cause here is the same as the previous commit: directly calling the
collection view's data source methods, which deques views improperly. Instead
now we instantiate the  cell directly from the XIB file.
@kp-laura-sempere
kp-laura-sempere merged commit bc90b5e into master Sep 19, 2025
0 of 2 checks passed
@kp-laura-sempere
kp-laura-sempere deleted the KM-11906_fix_crashes_on_automation_settings branch September 19, 2025 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants