immich/mobile/lib/widgets/asset_viewer
Thomas fbe631fe91
fix(mobile): convert video controls from hook to stateful widget (#27514)
We are generally looking to move away from hooks as they are hard to
reason about and have weird bugs. In particular, the timer did not
properly capture the ref of the callback, and so it would execute on old
state. A standard stateful widget does not have this problem, and is
easier to organise.

Co-authored-by: Alex <alex.tran1502@gmail.com>
2026-04-06 10:13:45 -05:00
..
detail_panel feat: image editing (#24155) 2026-01-09 17:59:52 -05:00
advanced_bottom_sheet.dart feat(mobile): 2026 font (#25213) 2026-01-13 09:59:57 -06:00
animated_play_pause.dart chore: add shadow to video play/pause icon shadow (#26836) 2026-03-11 14:15:31 -05:00
bottom_gallery_bar.dart fix(mobile): video state (#26574) 2026-03-03 10:28:07 -06:00
cast_dialog.dart fix: mobile unawaited_futures lint (#21661) 2025-10-27 09:32:52 -05:00
center_play_button.dart feat(mobile): video zooming in asset viewer (#22036) 2026-02-21 23:37:36 -06:00
custom_video_player_controls.dart fix(mobile): video state (#26574) 2026-03-03 10:28:07 -06:00
description_input.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
gallery_app_bar.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
motion_photo_button.dart refactor(mobile): refactor theme management (#14415) 2024-12-11 16:30:56 +00:00
top_control_app_bar.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
video_controls.dart fix(mobile): convert video controls from hook to stateful widget (#27514) 2026-04-06 10:13:45 -05:00