Call dialogue.exit() after a successful purchase

This commit is contained in:
Hirrolot 2022-04-23 23:52:43 +06:00
parent a514c845cb
commit d7b6229516

View file

@ -130,9 +130,8 @@ async fn receive_product_selection(
format!("{full_name}, product '{product}' has been purchased successfully!"),
)
.await?;
dialogue.exit().await?;
}
dialogue.update(State::Start).await?;
}
Ok(())