Skip to content

Conversation

@EmmaSimon
Copy link
Contributor

@EmmaSimon EmmaSimon commented Feb 10, 2026

Summary

Ticket: Fix: can't add favorites at stations with notifications disabled

The CustomAlert library we use wasn't working properly in iOS 26, this upgrades it, which resolves the issues and updates the styling to match the system (the styling still uses the classic style on older iOS versions).

Simulator Screenshot - iPhone 17 - 2026-02-10 at 15 07 31

iOS
- [ ] If you added any user-facing strings on iOS, are they included in Localizable.xcstrings?
- [ ] Add temporary machine translations, marked "Needs Review"

Testing

Manually verified that the alerts save properly on iOS 26.

Due to changes to the CustomAlert library, it's now no longer possible to put the buttons into a separate View. And since the CustomAlert has no mechanism for testing, and isn't compatible with ViewInspector, we now have no way to unit test some basic button behavior we were previously testing.


@EmmaSimon EmmaSimon requested a review from a team as a code owner February 10, 2026 20:13
@EmmaSimon EmmaSimon requested a review from BrandonTR February 10, 2026 20:13
Copy link
Contributor

@BrandonTR BrandonTR left a comment

Choose a reason for hiding this comment

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

Nice 👍

@EmmaSimon EmmaSimon enabled auto-merge February 10, 2026 20:19
@EmmaSimon EmmaSimon force-pushed the es-notification-favorites-save-bug branch from 5aa3033 to dedf250 Compare February 10, 2026 20:32
This was not behaving properly on iOS 26, it now works properly and has
liquid glass styling.
Due to changes to the CustomAlert library, it's now no longer possible
to put the buttons into a separate View. And since the CustomAlert has
no mechanism for testing, and isn't compatible with ViewInspector, we
now have no way to unit test the button behavior.
@EmmaSimon EmmaSimon force-pushed the es-notification-favorites-save-bug branch from dedf250 to 74e9e86 Compare February 10, 2026 22:28
@EmmaSimon EmmaSimon added this pull request to the merge queue Feb 10, 2026
Merged via the queue into main with commit c75e14d Feb 10, 2026
11 checks passed
@EmmaSimon EmmaSimon deleted the es-notification-favorites-save-bug branch February 10, 2026 23:10
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