Skip to content

Commit

Permalink
Wait for input to be parsed
Browse files Browse the repository at this point in the history
  • Loading branch information
erdemyerebasmaz committed Jul 12, 2024
1 parent f20b322 commit c3912c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ class EnterPaymentInfoDialogState extends State<EnterPaymentInfoDialog> {
final texts = context.texts();
try {
_setValidatorErrorMessage("");
final inputType = context.read<InputBloc>().parseInput(input: input);
final inputType = await context.read<InputBloc>().parseInput(input: input);
_log.info("Parsed input type: '${inputType.runtimeType.toString()}");
// Can't compare against a list of InputType as runtime type comparison is a bit tricky with binding generated enums
if (!(inputType is InputType_Bolt11 ||
Expand Down

0 comments on commit c3912c0

Please sign in to comment.