immich/mobile/lib/presentation/widgets
Thomas c2d8400899
fix(mobile): prevent video player from being recreated unnecessarily (#26553)
The changes in #25952 inadvertently removed an optimisation which
prevents the video player from being recreated when the tree changed.
This happens surprisingly often, namely when the hero animation
finishes. The widget is particularly expensive, so recreating it 2-3 in
a short period not only feels sluggish, but also causes the video to
hitch and restart.

The solution is to bring the global key back for the native video
player. Unlike before, we are using a custom global key which compares
the values of hero tags directly. This means we don't need to maintain a
map of hero tags to global keys in the state, and also means we don't
have to pass the global key down multiple layers.

This also fixes #25981.
2026-02-27 17:39:38 +05:30
..
action_buttons feat(mobile): prompt when deleting from trash (#26392) 2026-02-23 14:45:05 +00:00
album feat(mobile): inline asset details (#25952) 2026-02-17 09:24:34 -06:00
asset_viewer fix(mobile): prevent video player from being recreated unnecessarily (#26553) 2026-02-27 17:39:38 +05:30
backup chore: expose upload errors to UI (#25566) 2026-01-27 16:33:44 +00:00
bottom_sheet feat(mobile): Allow users to set album cover from mobile app (#25515) 2026-02-22 05:53:39 +00:00
images feat(mobile): Prevent premature image cache eviction when higher image loading is enabled (#26208) 2026-02-25 17:31:37 -05:00
map fix(mobile): bring back map settings (#25448) 2026-01-22 21:51:48 +00:00
memory fix: mobile edit handling (#25315) 2026-01-19 12:22:53 -06:00
people fix(mobile): birthday picker shows limited months when no date exists (#26407) 2026-02-25 07:58:02 +05:30
remote_album feat(mobile): album options to kebab menu (#24204) 2025-12-26 18:46:05 +00:00
search feat(mobile): Quick date picker in the search page (#22653) 2025-11-10 13:55:09 -06:00
timeline fix: simplify timeline rebuild on orientation (#26408) 2026-02-23 13:30:09 -05:00