mirror of
https://github.com/ente-io/ente.git
synced 2025-08-11 16:56:22 +00:00
Hide the dialog on page load
This commit is contained in:
parent
61d5f3189b
commit
b769c428eb
@ -331,6 +331,7 @@ class _StripeSubscriptionPageState extends State<StripeSubscriptionPage> {
|
|||||||
await _dialog.show();
|
await _dialog.show();
|
||||||
try {
|
try {
|
||||||
final String url = await _billingService.getStripeCustomerPortalUrl();
|
final String url = await _billingService.getStripeCustomerPortalUrl();
|
||||||
|
await _dialog.hide();
|
||||||
await Navigator.of(context).push(
|
await Navigator.of(context).push(
|
||||||
MaterialPageRoute(
|
MaterialPageRoute(
|
||||||
builder: (BuildContext context) {
|
builder: (BuildContext context) {
|
||||||
@ -342,7 +343,6 @@ class _StripeSubscriptionPageState extends State<StripeSubscriptionPage> {
|
|||||||
await _dialog.hide();
|
await _dialog.hide();
|
||||||
await showGenericErrorDialog(context: context, error: e);
|
await showGenericErrorDialog(context: context, error: e);
|
||||||
}
|
}
|
||||||
await _dialog.hide();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Widget _stripeRenewOrCancelButton() {
|
Widget _stripeRenewOrCancelButton() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user