refactor: enhance navigation robustness by introducing popSafe and safePushNamedAndRemoveUntil methods and updating their usage.
This commit is contained in:
@@ -80,7 +80,7 @@ class _RapidOrderFormState extends State<_RapidOrderForm> {
|
||||
subtitle: labels.subtitle,
|
||||
date: dateStr,
|
||||
time: timeStr,
|
||||
onBack: () => Modular.to.navigate(ClientPaths.createOrder),
|
||||
onBack: () => Modular.to.toCreateOrder(),
|
||||
),
|
||||
|
||||
// Content
|
||||
|
||||
Reference in New Issue
Block a user