mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-18 23:23:58 +08:00
remove image anim check
Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -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