mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-07 18:07:44 -06:00
feat: add accessibility setting and conditionally disable animations
This commit is contained in:
@@ -164,7 +164,10 @@ class AppDrawer extends StatelessWidget {
|
||||
return child;
|
||||
}
|
||||
return child
|
||||
.animate(onPlay: (c) => c.repeat(reverse: true))
|
||||
.animate(
|
||||
onPlay: (c) => c.repeat(reverse: true),
|
||||
autoPlay: !MediaQuery.disableAnimationsOf(context),
|
||||
)
|
||||
.fade(duration: 1.seconds, begin: 1, end: 0.3);
|
||||
},
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user