Skip to content

Commit 81a84c2

Browse files
committed
fixed HTML renderer breaks if toast duration is too big
1 parent 47d69df commit 81a84c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/framework/widget/toast.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class ToastController {
6060
},
6161
toastDuration: toastAction.duration != null
6262
? Duration(seconds: toastAction.duration!)
63-
: const Duration(days: 99),
63+
: const Duration(seconds: 10),
6464
child: Align(
6565
alignment: toastAction.alignment ?? Alignment.center,
6666
child:

0 commit comments

Comments
 (0)