firebase / FirebaseUI-Flutter

Apache License 2.0
90 stars 79 forks source link

fix(ui_auth): fix confirmation dialog for delete account button #346

Closed TimBaumgart closed 1 month ago

TimBaumgart commented 1 month ago

Description

previously the wrong navigator was popped when cancelling or confirming the dialog. this resulted in the dialog still beeing visible and the navigator behind it beeing popped. the fix adds the context object to the function parameter, so the right navigator gets popped.

Related Issues

fixes https://github.com/firebase/FirebaseUI-Flutter/issues/212

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

Breaking Change

Does your PR require plugin users to manually update their apps to accommodate your change?