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

Disable image dimension fetch when compact mode is enabled #950

Merged
merged 2 commits into from
Dec 5, 2023

Conversation

hjiangsu
Copy link
Member

@hjiangsu hjiangsu commented Dec 5, 2023

Pull Request Description

This is a very small PR which disables fetching image dimensions when compact view is enabled. Previously, when "View Full Height Images" was enabled while being in compact view, the image dimensions were still being fetched. This causes some performance drops since fetching image dimensions require extra network calls.

Issue Being Fixed

Issue Number: #942

Screenshots / Recordings

Checklist

  • Did you update CHANGELOG.md?
  • Did you use localized strings where applicable?
  • Did you add semanticLabels where applicable for accessibility?

Copy link
Member

@micahmo micahmo left a comment

Choose a reason for hiding this comment

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

LGTM

@hjiangsu hjiangsu merged commit 85c90a3 into develop Dec 5, 2023
1 check passed
@hjiangsu hjiangsu deleted the fix/disable-image-dimension-fetch-on-compact-mode branch December 5, 2023 17:50
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.

None yet

2 participants