Skip to content

image: Respect iOS "Auto-Play Animated Images" setting on iOS 18+#2288

Merged
gnprice merged 3 commits into
zulip:mainfrom
chrisbobbe:pr-auto-play-animated-images
Apr 29, 2026
Merged

image: Respect iOS "Auto-Play Animated Images" setting on iOS 18+#2288
gnprice merged 3 commits into
zulip:mainfrom
chrisbobbe:pr-auto-play-animated-images

Conversation

@chrisbobbe
Copy link
Copy Markdown
Collaborator

Fixes #1924.

@chrisbobbe chrisbobbe added integration review Added by maintainers when PR may be ready for integration maintainer review PR ready for review by Zulip maintainers and removed integration review Added by maintainers when PR may be ready for integration labels Apr 23, 2026
@chrisbobbe

This comment was marked as outdated.

1 similar comment
@chrisbobbe

This comment was marked as outdated.

Copy link
Copy Markdown
Member

@rajveermalviya rajveermalviya left a comment

Choose a reason for hiding this comment

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

Thanks @chrisbobbe! LGTM, moving over to Greg's review.

Comment thread lib/model/binding.dart
// TODO(log) if can't be parsed
int? get majorVersion =>
// [IosDeviceInfo.systemVersion] is a dotted string, e.g. "17.5.1".
int.tryParse(systemVersion.split('.').first, radix: 10);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Good question. I think this is simple/fast enough that it's fine for it to be a getter.

@rajveermalviya rajveermalviya added integration review Added by maintainers when PR may be ready for integration and removed maintainer review PR ready for review by Zulip maintainers labels Apr 28, 2026
@rajveermalviya rajveermalviya requested a review from gnprice April 28, 2026 12:12
@gnprice
Copy link
Copy Markdown
Member

gnprice commented Apr 29, 2026

Thanks for taking care of this, and thanks @rajveermalviya for the previous review! Looks good; merging.

@gnprice gnprice force-pushed the pr-auto-play-animated-images branch from 68e8bb1 to a958851 Compare April 29, 2026 18:20
@gnprice gnprice merged commit a958851 into zulip:main Apr 29, 2026
@chrisbobbe chrisbobbe deleted the pr-auto-play-animated-images branch April 29, 2026 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integration review Added by maintainers when PR may be ready for integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

iOS: Respect "Auto-Play Animated Images" setting, available on iOS 17+

3 participants