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 some posts screen weirdness: long-press, disappearing title, missing plat icon in dark theme #1191

Merged
merged 3 commits into from
Jun 21, 2024

Conversation

nolanw
Copy link
Member

@nolanw nolanw commented Jun 21, 2024

Long-press weirdness was seemingly introduced by asynchronously asking for the recognizer's location. Going back to synchronously getting the location in the action method seems to work better.

Disappearing title is probably something we're holding wrong, but somehow the navigation item's titleView gets removed from its navigation bar. We can reinsert it by clearing then re-setting the titleView when accessing titleLabel.

Missing plat icon is just a nonexistent image resource. I probably carelessly deleted it :/

The weirdness was seemingly introduced by asynchronously asking for the recognizer's location. Going back to synchronously getting the location in the action method seems to work better.
@nolanw nolanw changed the title Fix some posts long-press weirdness Fix some posts screen weirdness: long-press, disappearing title, missing plat icon in dark theme Jun 21, 2024
@nolanw nolanw merged commit 8fae7d3 into main Jun 21, 2024
1 check passed
@nolanw nolanw deleted the nolanw/decrease-long-press-weirdness-in-posts branch June 21, 2024 04:12
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.

1 participant