immich/mobile/lib
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
..
constants perf(mobile): optimized album sorting (#25179) 2026-02-23 20:13:45 +05:30
domain fix: missing deletedAt and isVisible columns on mobile (#26414) 2026-02-23 09:50:54 -05:00
entities chore: use hosted isar flutter libs (#22757) 2025-10-08 04:19:46 -05:00
extensions feat(mobile): inline asset details (#25952) 2026-02-17 09:24:34 -06:00
infrastructure fix: retain asset when either asset is a favorite (#26473) 2026-02-23 16:52:34 -05:00
interfaces refactor(mobile): interfaces refactor (#19415) 2025-06-23 11:27:44 -05:00
mixins
models feat(mobile): Add slug support for shared links (#26441) 2026-02-23 14:31:42 +05:30
pages feat: splash screen error page (#26460) 2026-02-26 16:47:28 +00:00
platform fix(mobile): mtls on native clients (#25802) 2026-02-05 17:42:53 +00:00
presentation fix(mobile): prevent video player from being recreated unnecessarily (#26553) 2026-02-27 17:39:38 +05:30
providers feat(mobile): Allow users to set profile picture from asset viewer (#25517) 2026-02-22 06:02:33 +00:00
repositories fix(mobile): cancel share download when dialog is dismissed (#25466) 2026-02-05 19:08:35 +00:00
routing feat(mobile): Allow users to set profile picture from asset viewer (#25517) 2026-02-22 06:02:33 +00:00
services feat(mobile): Add slug support for shared links (#26441) 2026-02-23 14:31:42 +05:30
theme fix(mobile): prevent nav bar label text wrapping (#26011) 2026-02-12 16:57:03 +00:00
utils chore: add Option type (#26467) 2026-02-23 16:20:25 -05:00
widgets feat: splash screen error page (#26460) 2026-02-26 16:47:28 +00:00
main.dart feat: splash screen error page (#26460) 2026-02-26 16:47:28 +00:00
wm_executor.dart fix: isolate freeze app on older ios device (#22509) 2025-10-22 12:43:03 -05:00