Skip to content

Common Tags: fix nil unwrapping crash - #1041

Closed
gy-mate wants to merge 1 commit into
bryceco:masterfrom
gy-mate:fix-nil-unwrapping
Closed

gy-mate wants to merge 1 commit into
bryceco:masterfrom
gy-mate:fix-nil-unwrapping

Conversation

@gy-mate

@gy-mate gy-mate commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

Fix a bug that resulted in an app crash when scrolling to the bottom of the Common Tags page, back to the top and then back to the bottom of it (the crash happened right at the end of the screen recording):

ScreenRecording_10-31-2026.23-46-52_1.mov

This was due to nil valueField values being unwrapped.

I've tested and it doesn't crash with this patch.

Fix a bug that resulted in an app crash when scrolling to the bottom of the Common Tags page, back to the top and then back to the bottom of it. This was due to nil valueField values being unwrapped.
@bryceco bryceco closed this in f414802 Nov 1, 2026
@bryceco

bryceco commented Nov 1, 2026

Copy link
Copy Markdown
Owner

Thanks for the PR! Your fix fixes it, but the root cause is slightly deeper: we were using a custom class where we shouldn't have. Those valueField properties shouldn't have even existed in that context.

@gy-mate

gy-mate commented Nov 1, 2026

Copy link
Copy Markdown
Contributor Author

I see—thanks for the info and the proper fix! :)

@gy-mate
gy-mate deleted the fix-nil-unwrapping branch November 1, 2026 21:42
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