We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff6ec48 commit 8fd792dCopy full SHA for 8fd792d
1 file changed
lib/components/buttons/animated_piwigo_button.dart
@@ -37,7 +37,10 @@ class AnimatedPiwigoButton extends StatelessWidget {
37
borderRadius: 10.0,
38
height: 56.0,
39
width: constraints.maxWidth,
40
- onPressed: disabled ? () {} : onPressed,
+ onPressed:
41
+ controller.currentState == ButtonState.loading || disabled
42
+ ? () {}
43
+ : onPressed,
44
child: child ?? const SizedBox(),
45
);
46
}),
0 commit comments