mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-08 20:14:51 +08:00
@@ -390,9 +390,7 @@ class _ImageState extends State<Image> with WidgetsBindingObserver {
|
||||
void didChangeDependencies() {
|
||||
_resolveImage();
|
||||
|
||||
_isPaused =
|
||||
!TickerMode.valuesOf(context).enabled ||
|
||||
(MediaQuery.maybeDisableAnimationsOf(context) ?? false);
|
||||
_isPaused = !TickerMode.valuesOf(context).enabled;
|
||||
|
||||
if (_isPaused && _frameNumber != null) {
|
||||
_stopListeningToStream(keepStreamAlive: true);
|
||||
|
||||
Reference in New Issue
Block a user