Skip to content

Commit

Permalink
fix wrong attribute name (#4557)
Browse files Browse the repository at this point in the history
  • Loading branch information
ndonkoHenri authored and FeodorFitsner committed Dec 12, 2024
1 parent 2d13907 commit 706c85d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion packages/flet/lib/src/controls/dismissible.dart
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class _DismissibleControlState extends State<DismissibleControl> {
parseDismissThresholds(widget.control, "dismissThresholds");

DismissDirection direction = parseDismissDirection(
widget.control.attrString("direction"), DismissDirection.horizontal)!;
widget.control.attrString("dismissDirection"), DismissDirection.horizontal)!;

widget.backend.subscribeMethods(widget.control.id,
(methodName, args) async {
Expand Down
1 change: 0 additions & 1 deletion sdk/python/packages/flet/src/flet/core/dismissible.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
RotateValue,
ScaleValue,
)
from flet.utils import deprecated


class Dismissible(ConstrainedControl, AdaptiveControl):
Expand Down

0 comments on commit 706c85d

Please sign in to comment.