Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Remon committed Apr 1, 2024
1 parent e40de2e commit e951716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/stripe_web/lib/src/widgets/card_field.dart
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class WebStripeCardState extends State<WebCardField> with CardFieldContext {
void initStripe() {
attachController(controller);
ambiguate(WidgetsBinding.instance)?.addPostFrameCallback((timeStamp) {
if (!widget.dangerouslyUpdateFullCardDetails) {
if (!widget.dangerouslyUpdateFullCardDetails && mounted) {
if (kDebugMode &&
controller.details !=
const CardFieldInputDetails(complete: false)) {
Expand Down

0 comments on commit e951716

Please sign in to comment.