fix: Don't shimmer disabled translation button (#5505)
This commit is contained in:
parent
597387def4
commit
7c8820754c
1 changed files with 2 additions and 1 deletions
|
|
@ -431,7 +431,8 @@ class SelectModeButtonsState extends State<SelectModeButtons> {
|
|||
ShimmerBackground(
|
||||
enabled: !InstructionsEnum
|
||||
.shimmerTranslation.isToggledOff &&
|
||||
mode == SelectMode.translate,
|
||||
mode == SelectMode.translate &&
|
||||
enabled,
|
||||
borderRadius: BorderRadius.circular(100),
|
||||
child: AnimatedContainer(
|
||||
duration: FluffyThemes.animationDuration,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue