backToForm method

void backToForm()

Return to the form from the review/result/queued screens (the Back / Send another / Edit actions). A no-op mid-flight (a transient state) so a stray tap can't abandon an in-flight sign.

Implementation

void backToForm() {
  if (state is SendPreparing ||
      state is SendSubmitting ||
      state is SendQueuing) {
    return;
  }
  _set(const SendForm());
}