Fix navigation after ionia opt redirection.

This commit is contained in:
M 2022-07-14 19:04:55 +01:00
parent abb6ff4933
commit b9cc776614

View file

@ -143,5 +143,6 @@ class IoniaVerifyIoniaOtp extends BasePage {
} }
void _onOtpSuccessful(BuildContext context) => void _onOtpSuccessful(BuildContext context) =>
Navigator.pushNamedAndRemoveUntil(context, Routes.ioniaManageCardsPage, ModalRoute.withName(Routes.dashboard)); Navigator.of(context)
.pushNamedAndRemoveUntil(Routes.ioniaManageCardsPage, (route) => route.isFirst);
} }