fix(runtime): harden application service boundaries

This commit is contained in:
edde746
2026-07-24 03:46:46 +02:00
parent 658da37b48
commit e0bf66eea8
309 changed files with 32574 additions and 4369 deletions
@@ -313,6 +313,7 @@ class _MobileVideoControlsState extends State<MobileVideoControls> with SingleTi
player: widget.player,
chapters: widget.chapters,
chaptersLoaded: widget.chaptersLoaded,
canControl: widget.canControl,
serverId: widget.serverId,
showQueueTab: widget.showQueueTab,
onQueueItemSelected: widget.onQueueItemSelected,
@@ -390,12 +391,11 @@ class _MobileVideoControlsState extends State<MobileVideoControls> with SingleTi
icon: isPlaying ? Symbols.pause_rounded : Symbols.play_arrow_rounded,
iconSize: 72,
onPressed: () {
widget.onPlayPause();
if (isPlaying) {
widget.player.pause();
widget.onCancelAutoHide?.call(); // Cancel auto-hide when paused
widget.onCancelAutoHide?.call();
} else {
widget.player.play();
widget.onStartAutoHide?.call(); // Start auto-hide when playing
widget.onStartAutoHide?.call();
}
},
),